OBS User unknown
2008-05-16 12:47:01 +00:00
committed by Git OBS Bridge
parent a0637e4966
commit 05c8a80c1b
4 changed files with 33 additions and 38 deletions

View File

@@ -155,20 +155,18 @@ case "$1" in
# gssd
if [ "$NEED_GSSD" = yes ]; then
echo -n " gssd"
do_start_gssd
if [ $? != 0 ]; then
do_start_gssd || {
rc_status -v
rc_exit
fi
}
fi
# idmapd
if [ "$NEED_IDMAPD" = yes ]; then
echo -n " idmapd"
do_start_idmapd
if [ $? != 0 ]; then
do_start_idmapd || {
rc_status -v
rc_exit
fi
}
echo $IDMAPD_BIN > $IDMAPD_CLIENT_STATE
fi
# statd is started when needed by mount.nfs
@@ -212,22 +210,20 @@ case "$1" in
#
if [ "$NEED_GSSD" = yes ]; then
echo -n " gssd"
killproc $GSSD_BIN
if [ $? != 0 ]; then
killproc $GSSD_BIN || {
rc_status -v
rc_exit
fi
}
fi
#
if [ "$NEED_IDMAPD" = yes ]; then
# only stop idmapd if it is not needed by server
if [ ! -f $IDMAPD_SERVER_STATE ]; then
echo -n " idmapd"
killproc $IDMAPD_BIN
if [ $? != 0 ]; then
killproc $IDMAPD_BIN || {
rc_status -v
rc_exit
fi
}
fi
rm -f $IDMAPD_CLIENT_STATE
fi