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

This commit is contained in:
Nishimara 2024-12-19 23:37:51 +03:00
parent b3fd5c5dc1
commit 85d319568c
No known key found for this signature in database

View File

@ -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