]> git.proxmox.com Git - pve-manager.git/blame - bin/init.d/pvebanner
PVE::Replication - pass guest_class to run_replication
[pve-manager.git] / bin / init.d / pvebanner
CommitLineData
aff192e6
DM
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
14PATH=/sbin:/bin:/usr/bin:/usr/sbin
15
9003d6e3
DM
16test -f /usr/bin/pvebanner || exit 0
17
18test -f /etc/lsb-base-logging.sh || echo "FANCYTTY=0" >/etc/lsb-base-logging.sh
aff192e6
DM
19
20case "$1" in
21 start)
22 pvebanner
23 ;;
24 stop|restart|force-reload)
25 exit 1
26 ;;
27 *)
28 echo "Usage: /etc/init.d/pvebanner {start}"
29 exit 1
30 ;;
31esac
32
33exit 0