remove package/gdb reference from Config.in, seems like this package is not checked...
[openwrt.git] / package / ser / patches / 100-sc.patch
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
3 @@ -19,7 +19,7 @@
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
8 +STARTOPTIONS="-m 5"
9
10 # ser's FIFO server
11 if [ -z "$SER_FIFO" ]; then
12 @@ -338,11 +338,7 @@
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] "
17 - read answer
18 - if [ "$answer" = "y" -o "$answer" = "Y" ] ; then
19 - fifo_cmd ul_dump
20 - fi
21 + fifo_cmd ul_dump
22 else
23 echo "wrong number of params for usrloc show"
24 usage
25 @@ -590,7 +586,7 @@
26 case $1 in
27
28 start)
29 - DIR=`dirname $0`
30 + DIR=/usr/sbin
31 echo
32 printf "Starting SER : "
33 if [ -r $PID_FILE ] ; then
34 @@ -612,6 +608,7 @@
35 printf "Stopping SER : "
36 if [ -r $PID_FILE ] ; then
37 kill `cat $PID_FILE`
38 + rm $PID_FILE
39 echo "stopped"
40 else
41 echo No PID file found!
42 @@ -621,10 +618,11 @@
43 ;;
44
45 restart)
46 - DIR=`dirname $0`
47 + DIR=/usr/sbin
48 printf "Stopping SER : "
49 if [ -r $PID_FILE ] ; then
50 kill `cat $PID_FILE`
51 + rm $PID_FILE
52 echo "stopped"
53 else
54 echo No PID file found! SER problably not running
This page took 0.043026 seconds and 5 git commands to generate.