]> git.proxmox.com Git - pve-manager.git/blob - bin/init.d/pvebanner
imported from svn 'pve-manager/pve2'
[pve-manager.git] / bin / init.d / pvebanner
1 #!/bin/sh
2
3 ### BEGIN INIT INFO
4 # Provides: pvebanner
5 # Required-Start: $all
6 # Required-Stop:
7 # Default-Start: 2 3 4 5
8 # Default-Stop:
9 # Short-Description: print PVE banner
10 ### END INIT INFO
11
12 . /lib/lsb/init-functions
13
14 PATH=/sbin:/bin:/usr/bin:/usr/sbin
15
16 test -f $PVEDAEMON || exit 0
17
18 case "$1" in
19 start)
20 pvebanner
21 ;;
22 stop|restart|force-reload)
23 exit 1
24 ;;
25 *)
26 echo "Usage: /etc/init.d/pvebanner {start}"
27 exit 1
28 ;;
29 esac
30
31 exit 0