|
@@ -57,11 +57,11 @@ do_start () {
|
|
|
local PIDFILE="$PIDDIR$INSTANCE.pid"
|
|
|
local CTLSOCK="$PIDDIR$INSTANCE.ctl"
|
|
|
start-stop-daemon --start --quiet \
|
|
|
- --pidfile "$PIDFILE" --exec "$VBLADE" --test > /dev/null \
|
|
|
+ --pidfile "$PIDFILE" --exec "$SOFTFLOWD" --test > /dev/null \
|
|
|
|| return 1
|
|
|
start-stop-daemon --start --quiet \
|
|
|
--pidfile "$PIDFILE" \
|
|
|
- --exec $ionice "$SOFTFLOWD" -- \
|
|
|
+ --exec "$SOFTFLOWD" -- \
|
|
|
-p "$PIDFILE" -c "$CTLSOCK" \
|
|
|
-i "$interface" $options \
|
|
|
|| return 2
|
|
@@ -136,7 +136,7 @@ do_action () {
|
|
|
esac
|
|
|
;;
|
|
|
*)
|
|
|
- echo "Usage: /etc/init.d/softflowd {start|stop|status|restart|force-reload} [<export> ...]" >&2
|
|
|
+ echo "Usage: /etc/init.d/softflowd {start|stop|status|restart|force-reload} [<instance> ...]" >&2
|
|
|
exit 3
|
|
|
;;
|
|
|
esac
|