2ca9b010a6
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_fam@5933 504e572c-2e33-0410-9681-be2bf7408885
41 lines
703 B
Bash
Executable File
41 lines
703 B
Bash
Executable File
#!/bin/bash
|
|
#start/stop für fam
|
|
#(c) Rainmaker MultiMedia OHG
|
|
#
|
|
#$Author$
|
|
#$Date$
|
|
#$Revision$
|
|
#
|
|
#$Log$
|
|
#Revision 1.3 2006/06/26 10:56:49 kueller
|
|
#aus fam wird famd und der landet in sbin / nicht mehr in bin. startupfile
|
|
#angepasst
|
|
#
|
|
#Revision 1.2 2006/04/12 13:54:05 segler
|
|
#beim restart) $1 start in $0 start korrigiert - macht sich einfach besser ;>
|
|
#
|
|
#Revision 1.1.1.1 2005/11/28 13:40:29 kueller
|
|
#new server daemon fam
|
|
#
|
|
#
|
|
|
|
source /etc/init.d/functions
|
|
|
|
case "$1" in
|
|
start)
|
|
echo -n "Starting fam"
|
|
loadproc /usr/sbin/famd
|
|
;;
|
|
stop)
|
|
echo -n "Stopping fam"
|
|
killproc /usr/sbin/famd
|
|
;;
|
|
restart)
|
|
$0 stop
|
|
sleep 1
|
|
$0 start
|
|
;;
|
|
*)
|
|
echo "USAGE: $0 {start|stop|restart}"
|
|
esac
|