summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2011-09-07 16:46:21 (GMT)
committerMichael Hanson <mihanson@linhes.org>2011-09-07 16:46:21 (GMT)
commit3aaa5a507a52e3e387712e3732b2104704675301 (patch)
tree0a74580d961f637232625acc839981eb9d6fe94d /abs/core/runit-scripts/runitscripts
parent563b0f27dca6ff00a9ff69dc463911bfbd78e499 (diff)
parent8af79359c21b5f07981975c34a7d51ab063b249d (diff)
downloadlinhes_pkgbuild-3aaa5a507a52e3e387712e3732b2104704675301.zip
linhes_pkgbuild-3aaa5a507a52e3e387712e3732b2104704675301.tar.gz
linhes_pkgbuild-3aaa5a507a52e3e387712e3732b2104704675301.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/37
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/lircd/run3
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/netfs/run3
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/nfs-common/run12
4 files changed, 17 insertions, 8 deletions
diff --git a/abs/core/runit-scripts/runitscripts/3 b/abs/core/runit-scripts/runitscripts/3
index d4b0a6a..15e4c5f 100755
--- a/abs/core/runit-scripts/runitscripts/3
+++ b/abs/core/runit-scripts/runitscripts/3
@@ -1,5 +1,10 @@
#!/bin/sh
-for i in `seq 30`
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+echo "======================================================================"
+for i in `seq 3`
do
echo " " > /dev/tty1
done
diff --git a/abs/core/runit-scripts/runitscripts/services/lircd/run b/abs/core/runit-scripts/runitscripts/services/lircd/run
index f8f24c1..966b980 100755
--- a/abs/core/runit-scripts/runitscripts/services/lircd/run
+++ b/abs/core/runit-scripts/runitscripts/services/lircd/run
@@ -31,7 +31,8 @@ else
stat_runit "Starting lirc"
#enable lirc bridge protocol
- /usr/bin/ir-keytable -p lirc &
+ printhl " lirc: ir-keytable"
+ /usr/bin/ir-keytable -p lirc > /dev/null 2>/dev/null
[ -e /etc/sv/lircd/.runtime ] || mkdir -p /etc/sv/lircd/.runtime
[ -e /var/run/lirc ] || mkdir -p /var/run/lirc
diff --git a/abs/core/runit-scripts/runitscripts/services/netfs/run b/abs/core/runit-scripts/runitscripts/services/netfs/run
index 8b6a8b1..06180c2 100755
--- a/abs/core/runit-scripts/runitscripts/services/netfs/run
+++ b/abs/core/runit-scripts/runitscripts/services/netfs/run
@@ -1,6 +1,7 @@
#!/bin/sh
exec 2>&1
+exec 1>/dev/null
sv start rpcbind
-sv start nfs-common
+sv start nfs-common
/etc/rc.d/netfs start
diff --git a/abs/core/runit-scripts/runitscripts/services/nfs-common/run b/abs/core/runit-scripts/runitscripts/services/nfs-common/run
index bf6c2a1..f0dbb6e 100755
--- a/abs/core/runit-scripts/runitscripts/services/nfs-common/run
+++ b/abs/core/runit-scripts/runitscripts/services/nfs-common/run
@@ -62,20 +62,22 @@ get_pid() {
-stat_runit "Starting $daemon_name"
+stat_runit "Starting NFS-common: $daemon_name"
svwaitup rpcbind >/dev/null 2>/dev/null
-/usr/sbin/sm-notify $SMNOTIFY_OPTS
+
+printhl " NFS-common: sm-notify"
+/usr/sbin/sm-notify $SMNOTIFY_OPTS >/dev/null 2>/dev/null
do_modprobe sunrpc
do_modprobe nfs
do_modprobe nfsd
do_mount rpc_pipefs "$PIPEFS_MOUNTPOINT" "$PIPEFS_MOUNTOPTS"
-stat_runit "Starting $IDMAPD_DAEMON_NAME"
+printhl " NFS-common: $IDMAPD_DAEMON_NAME"
$IDMAPD
-stat_runit "Starting $GSSD_DAEMON_NAME"
+printhl " NFS-common: $GSSD_DAEMON_NAME"
do_modprobe rpcsec_gss_krb5
$GSSD
-$STATD -F
+$STATD -F > /dev/null 2>/dev/null