1 --- ser-0.8.14.orig/scripts/sc 2004-07-27 11:41:40.000000000 +0200
2 +++ ser-0.8.14/scripts/sc 2005-02-07 23:10:30.000000000 +0100
4 # configuration for starting/stopping ser
5 PID_FILE=/var/run/ser.pid
6 SYSLOG=1 # 0=output to console, 1=output to syslog
7 -STARTOPTIONS= # for example -dddd
11 if [ -z "$SER_FIFO" ]; then
13 if [ $# -eq 2 ] ; then
14 fifo_cmd ul_show_contact $UL_TABLE $2
15 elif [ $# -eq 1 ] ; then
16 - printf "Dumping all contacts may take long: are you sure you want to proceed? [Y|N] "
18 - if [ "$answer" = "y" -o "$answer" = "Y" ] ; then
23 echo "wrong number of params for usrloc show"
32 printf "Starting SER : "
33 if [ -r $PID_FILE ] ; then
35 printf "Stopping SER : "
36 if [ -r $PID_FILE ] ; then
41 echo No PID file found!
48 printf "Stopping SER : "
49 if [ -r $PID_FILE ] ; then
54 echo No PID file found! SER problably not running