* Roberto Riggio <[email protected]> [08.04.2010 19:00]: some suggestions:
> + [ $enabled == 0 ] && exit 1
[ "$enabled" != "1" ] && exit
> + [ -f "$PIDF" ] && {
> + kill -9 $(cat $PIDF)
> + rm $PIDF
> + }
[ -f "$PIDF" ] && {
read PID <"$PIDF" # nonforking
kill -9 $PID
rm $PIDF
}
but should'nt you try an simple "kill $PID" before
using "-9" ?
bye, Bastian.
signature.asc
Description: Digital signature
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
