Fixed mistakes in invirt-kerberos-config
[invirt/packages/invirt-kerberos-config.git] / debian / invirt-kerberos-config.init
1 #! /bin/bash
2 ### BEGIN INIT INFO
3 # Provides:          invirt-base
4 # Required-Start:    $local_fs $remote_fs
5 # Required-Stop:     $local_fs $remote_fs
6 # Default-Start:     2 3 4 5
7 # Default-Stop:      0 1 6
8 # Short-Description: invirt base config generator
9 # Description:       Re-generate invirt config; namely default kerberos realm.
10 ### END INIT INFO
11
12 # Author: Invirt Project <invirt@mit.edu>
13
14 PACKAGE=invirt-kerberos-config
15 GEN_FILES=/etc/krb5.conf.invirt
16
17 dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0
18
19 . /lib/init/config-init.sh
20 config_init "$1"