43 lines
858 B
Plaintext
43 lines
858 B
Plaintext
|
#!/bin/sh
|
|||
|
# Begin /etc/init.d/network
|
|||
|
# Script zum start des automount Daemons
|
|||
|
# Wenn die Datei /etc/sysconfig/auto.master vorhanden ist, wird
|
|||
|
# der automount Daemon gestartet
|
|||
|
# Die Timeout Konfiguration erfolg <20>ber die Datei /etc/sysconfig/autofstime
|
|||
|
#(c) CompuExtreme, 1999-2008 Harald Kueller
|
|||
|
#
|
|||
|
#$Author$
|
|||
|
#$Date$
|
|||
|
#$Revision$
|
|||
|
#
|
|||
|
#$Log$
|
|||
|
#Revision 1.1 2007/05/09 08:01:08 kueller
|
|||
|
#Initial revision
|
|||
|
#
|
|||
|
#
|
|||
|
|
|||
|
|
|||
|
source /etc/init.d/functions
|
|||
|
case "$1" in
|
|||
|
start)
|
|||
|
if [ -f /etc/nsswitch.store ]; then
|
|||
|
if [ ! -f /var/state/ldap_disable ]; then
|
|||
|
echo -n "restore ldap login services"
|
|||
|
mv /etc/nsswitch.store /etc/nsswitch.conf
|
|||
|
evaluate_retval
|
|||
|
else
|
|||
|
rm /var/state/ldap_disable
|
|||
|
rm /etc/nsswitch.store
|
|||
|
fi
|
|||
|
fi
|
|||
|
;;
|
|||
|
stop)
|
|||
|
echo -n
|
|||
|
;;
|
|||
|
*)
|
|||
|
echo "Usage: $0: {start|stop|restart}"
|
|||
|
exit 1
|
|||
|
;;
|
|||
|
esac
|
|||
|
#end /etc/inet.d/network
|