19 lines
227 B
Text
19 lines
227 B
Text
|
#!/bin/sh
|
||
|
NAME=fakeidentd
|
||
|
case "$1" in
|
||
|
start)
|
||
|
[ -e $DEFAULT ] && $NAME $DEFAULT
|
||
|
;;
|
||
|
stop)
|
||
|
killall $NAME
|
||
|
;;
|
||
|
restart)
|
||
|
killall $NAME
|
||
|
$NAME
|
||
|
;;
|
||
|
*)
|
||
|
echo "Usage: $NAME (start|stop|restart)" > 2&
|
||
|
exit 1
|
||
|
;;
|
||
|
esac
|