Browse Source

init.d/sysv: set usage helper to show actual path

pull/967/head
Nishimara 4 months ago
parent
commit
85d319568c
Failed to extract signature
  1. 3
      init.d/sysv/zapret

3
init.d/sysv/zapret

@ -74,8 +74,7 @@ case "$1" in
;; ;;
*) *)
N=/etc/init.d/$NAME echo "Usage: $SCRIPT {start|stop|restart|start-fw|stop-fw|restart-fw|start-daemons|stop-daemons|restart-daemons|reload-ifsets|list-ifsets|list-table}" >&2
echo "Usage: $N {start|stop|restart|start-fw|stop-fw|restart-fw|start-daemons|stop-daemons|restart-daemons|reload-ifsets|list-ifsets|list-table}" >&2
exit 1 exit 1
;; ;;
esac esac

Loading…
Cancel
Save