mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-03 04:56:22 +00:00
32 lines
453 B
Bash
Executable File
32 lines
453 B
Bash
Executable File
#!/bin/sh
|
|
|
|
### BEGIN INIT INFO
|
|
# Provides: pvebanner
|
|
# Required-Start: $all
|
|
# Required-Stop:
|
|
# Default-Start: 2 3 4 5
|
|
# Default-Stop:
|
|
# Short-Description: print PVE banner
|
|
### END INIT INFO
|
|
|
|
. /lib/lsb/init-functions
|
|
|
|
PATH=/sbin:/bin:/usr/bin:/usr/sbin
|
|
|
|
test -f $PVEDAEMON || exit 0
|
|
|
|
case "$1" in
|
|
start)
|
|
pvebanner
|
|
;;
|
|
stop|restart|force-reload)
|
|
exit 1
|
|
;;
|
|
*)
|
|
echo "Usage: /etc/init.d/pvebanner {start}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|