From 85d319568c2f5b4e2db7162d5db844ab4c91b074 Mon Sep 17 00:00:00 2001 From: Nishimara Date: Thu, 19 Dec 2024 23:37:51 +0300 Subject: [PATCH] init.d/sysv: set usage helper to show actual path --- init.d/sysv/zapret | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.d/sysv/zapret b/init.d/sysv/zapret index 9e247a4..bb15abb 100755 --- a/init.d/sysv/zapret +++ b/init.d/sysv/zapret @@ -74,8 +74,7 @@ case "$1" in ;; *) - N=/etc/init.d/$NAME - 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 + 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 exit 1 ;; esac