diff options
-rwxr-xr-x | net-nds/ypbind/files/ypbind | 7 | ||||
-rw-r--r-- | sys-apps/baselayout/files/rc.d/config/basic | 2 |
2 files changed, 5 insertions, 4 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 } diff --git a/sys-apps/baselayout/files/rc.d/config/basic b/sys-apps/baselayout/files/rc.d/config/basic index 93711d62bdab..d14b5db1826f 100644 --- a/sys-apps/baselayout/files/rc.d/config/basic +++ b/sys-apps/baselayout/files/rc.d/config/basic @@ -15,5 +15,5 @@ FSCKFIX=no # Set FSCKFIX to "yes" if you want to add "-y" to the fsck at star ARCH=`uname -m` # Architecture NFSSERVER=no # Set to yes if you want to run an nfsserver -YPDOMAIN="" # Enter your NIS domainname here +YP_DOMAIN="" # Enter your NIS domainname here |