mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-10 11:13:08 +00:00
tools: Print usage for frrinit.sh when running without arguments
``` root@spine1-debian-11:~/frr# /usr/lib/frr/frrinit.sh Usage: /usr/lib/frr/frrinit.sh (start|stop|restart|force-reload|reload|status) ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
f5327fc339
commit
9c2f5943aa
@ -127,6 +127,8 @@ reload)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
log_failure_msg "Unknown command: $1" >&2
|
echo "Usage:"
|
||||||
|
echo " ${0} (start|stop|restart|force-reload|reload|status)"
|
||||||
exit 1
|
exit 1
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user