summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2009-06-20 03:17:20 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2009-06-20 03:17:20 (GMT)
commit87ee63ae6cc83c1d660a3fafe10d94ae06318e8e (patch)
treec756fa294f76eb8a1153da447624d2751df529cc /abs/core-testing/runit-scripts/runitscripts
parent5cd6f8910de61c39af2c6821909bcab36bb983e6 (diff)
downloadlinhes_pkgbuild-87ee63ae6cc83c1d660a3fafe10d94ae06318e8e.zip
linhes_pkgbuild-87ee63ae6cc83c1d660a3fafe10d94ae06318e8e.tar.gz
linhes_pkgbuild-87ee63ae6cc83c1d660a3fafe10d94ae06318e8e.tar.bz2
tftp-hpa: added. runit-scripts: added run scripts for dhcpd and tftpd
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/dhcpd/run8
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/tftpd/run8
2 files changed, 16 insertions, 0 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/dhcpd/run b/abs/core-testing/runit-scripts/runitscripts/services/dhcpd/run
new file mode 100755
index 0000000..38ae40a
--- /dev/null
+++ b/abs/core-testing/runit-scripts/runitscripts/services/dhcpd/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting dhcpd"
+
+
+exec /usr/sbin/dhcpd -f &> /var/log/dhcpd.log
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/tftpd/run b/abs/core-testing/runit-scripts/runitscripts/services/tftpd/run
new file mode 100755
index 0000000..8f742ca
--- /dev/null
+++ b/abs/core-testing/runit-scripts/runitscripts/services/tftpd/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting tftpd"
+
+
+exec /usr/sbin/in.tftpd --foreground -s /tftpboot