summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-08-19 18:23:53 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-08-19 18:23:53 (GMT)
commit528cb144ccabf66fb6278f3025a3496d73a59a20 (patch)
tree6dcbcbe33b9dc96a441dfee3d3df96a12ef912e3 /abs/core/runit-scripts/runitscripts
parent855cc7eb5a1ec13cc4ac28a910c79633703aa18f (diff)
parentf8e6fc954ed4502f65355e30664fdbdbcd045cd7 (diff)
downloadlinhes_pkgbuild-528cb144ccabf66fb6278f3025a3496d73a59a20.zip
linhes_pkgbuild-528cb144ccabf66fb6278f3025a3496d73a59a20.tar.gz
linhes_pkgbuild-528cb144ccabf66fb6278f3025a3496d73a59a20.tar.bz2
Merge remote-tracking branch 'origin/testing' into testing
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/11
-rwxr-xr-x[-rw-r--r--]abs/core/runit-scripts/runitscripts/services/bluetoothd/run6
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/irqbalance/run16
3 files changed, 21 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/runitscripts/1 b/abs/core/runit-scripts/runitscripts/1
index af6b376..c64a047 100755
--- a/abs/core/runit-scripts/runitscripts/1
+++ b/abs/core/runit-scripts/runitscripts/1
@@ -11,6 +11,7 @@ rm -f /etc/sv/frontend/.runtime/* 2>/dev/null
rm -f /etc/runit/reboot 2>/dev/null
/sbin/agetty -8 38400 tty10 linux &
stat_busy "Starting network"
+/bin/mkdir -p /var/lock/subsys
/etc/net/scripts/network.init start 2>/var/log/network.init.error >/var/log/network.init
stat_done
/usr/sbin/ethtool -s eth0 wol g 2>/dev/null
diff --git a/abs/core/runit-scripts/runitscripts/services/bluetoothd/run b/abs/core/runit-scripts/runitscripts/services/bluetoothd/run
index 7a92437..15d3bb2 100644..100755
--- a/abs/core/runit-scripts/runitscripts/services/bluetoothd/run
+++ b/abs/core/runit-scripts/runitscripts/services/bluetoothd/run
@@ -8,5 +8,7 @@
[ -f /etc/conf.d/bluetooth ] && . /etc/conf.d/bluetooth
- stat_runit "Starting bluetooth subsystem:"
- exec /usr/sbin/bluetoothd -n
+/sbin/svwaitup -s 15 /service/dbus || exit 1
+stat_runit "Starting bluetooth subsystem:"
+
+exec /usr/sbin/bluetoothd -n >/dev/null
diff --git a/abs/core/runit-scripts/runitscripts/services/irqbalance/run b/abs/core/runit-scripts/runitscripts/services/irqbalance/run
new file mode 100755
index 0000000..6342868
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/irqbalance/run
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+# source application-specific settings
+ONESHOT=0
+[ -f /etc/conf.d/irqbalance ] && . /etc/conf.d/irqbalance
+
+if [ "$ONESHOT" -ne 0 ]; then
+ ONESHOT_CMD="--oneshot"
+fi
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+stat_runit "Starting irqbalance"
+
+exec /usr/sbin/irqbalance --debug $ONESHOT_CMD >/dev/null