summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/nfs-common
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-09-01 15:06:57 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-09-01 15:06:57 (GMT)
commit1b9906de1e3b06d1c6442361200f8b1348c66152 (patch)
tree82b3f7ffb1854d54f50b5cb541d981a344cffd24 /abs/core/runit-scripts/runitscripts/services/nfs-common
parentf53cccacbb7bed54f4cbba8021bc41b75a6e2e4e (diff)
downloadlinhes_pkgbuild-1b9906de1e3b06d1c6442361200f8b1348c66152.zip
linhes_pkgbuild-1b9906de1e3b06d1c6442361200f8b1348c66152.tar.gz
linhes_pkgbuild-1b9906de1e3b06d1c6442361200f8b1348c66152.tar.bz2
runit-scripts: Defined new print procedure for runit to use.
Convert some scripts to use the new printhlr procedure. Cleanup of a couple scripts to stop spewing crap on the console.
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/nfs-common')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/nfs-common/run12
1 files changed, 7 insertions, 5 deletions
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