bin/init_script in sfpagent-0.2.9 vs bin/init_script in sfpagent-0.2.10
- old
+ new
@@ -9,10 +9,10 @@
# Short-Description: SFP Agent Daemon
### END INIT INFO
set -e
-bin="/home/herry/workspace/sfp/sfpagent/bin/sfpagent"
+bin=`which sfpagent`
test -x $bin || exit 0
umask 022