diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-21 11:32:06 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-21 11:32:06 +0000 |
commit | 0b7948f3aeaaddc98f06e86d613c6dd28ba89f3e (patch) | |
tree | e79b274d38141ee26407c8d1f16ecce5cebb169e /net-nds/ypbind/files | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-0b7948f3aeaaddc98f06e86d613c6dd28ba89f3e.tar.gz gentoo-2-0b7948f3aeaaddc98f06e86d613c6dd28ba89f3e.tar.bz2 gentoo-2-0b7948f3aeaaddc98f06e86d613c6dd28ba89f3e.zip |
*** empty log message ***
Diffstat (limited to 'net-nds/ypbind/files')
-rwxr-xr-x | net-nds/ypbind/files/ypbind | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net-nds/ypbind/files/ypbind b/net-nds/ypbind/files/ypbind index 84f905387349..b4d121909e68 100755 --- a/net-nds/ypbind/files/ypbind +++ b/net-nds/ypbind/files/ypbind @@ -10,9 +10,10 @@ PID="/var/run/ypbind.pid" opts="start stop restart" start() { + ebegin "Starting ${SERVICE}" if [ -n "$YP_DOMAIN" ] then - ebegin "Starting ${SERVICE}" + ypdomainname "$YP_DOMAIN" start-stop-daemon --start --quiet --exec $EXE 1>&2 @@ -33,7 +34,7 @@ start() { eend $? "Error starting ${SERVICE}." fi else - eend $? "Error starting ${SERVICE}." + eend 1 "Error starting ${SERVICE}." fi } @@ -45,7 +46,7 @@ stop() { eend $? "Error stopping ${SERVICE}." # Remove binding files, if ypbind "forget" it rm -f /var/yp/binding/* - rm -f /var/lock/subsys/ypbind + #rm -f /var/lock/subsys/ypbind fi } |