summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts
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
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')
-rwxr-xr-xabs/core-testing/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/dhcpd/run8
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/tftpd/run8
3 files changed, 17 insertions, 1 deletions
diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD
index efe7947..852c658 100755
--- a/abs/core-testing/runit-scripts/PKGBUILD
+++ b/abs/core-testing/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=1.8.0
-pkgrel=87
+pkgrel=88
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
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