summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/1
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-09 16:41:15 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-09 16:41:15 (GMT)
commit84cfad2c9cd6bba15d84e31ee927f339cd9b1ff6 (patch)
tree3767a3709550625882391aac8d9f558f0bbe8cf9 /abs/core-testing/runit-scripts/runitscripts/1
parent1c93373465c75d2d115cc9da72cfa5ff21f3867e (diff)
downloadlinhes_pkgbuild-84cfad2c9cd6bba15d84e31ee927f339cd9b1ff6.zip
linhes_pkgbuild-84cfad2c9cd6bba15d84e31ee927f339cd9b1ff6.tar.gz
linhes_pkgbuild-84cfad2c9cd6bba15d84e31ee927f339cd9b1ff6.tar.bz2
Give the end user the ability to run stuff from runit level 1.
/etc/runit/1.local will not be overwritten on upgrades.
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/1')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/16
1 files changed, 6 insertions, 0 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/1 b/abs/core-testing/runit-scripts/runitscripts/1
index ac1ac49..804ed56 100755
--- a/abs/core-testing/runit-scripts/runitscripts/1
+++ b/abs/core-testing/runit-scripts/runitscripts/1
@@ -10,4 +10,10 @@ rm -f /etc/runit/reboot 2>/dev/null
/usr/sbin/ethtool -s eth0 wol g 2>/dev/null
/usr/sbin/ethtool -s eth1 wol g 2>/dev/null
/usr/sbin/ethtool -s eth2 wol g 2>/dev/null
+#user added stuff for level 1 of runit
+if [ -e /etc/runit/1.local ]
+then
+ #exec the file
+ /etc/runit/1.local
+fi