source: package_branches/invirt-base/hvirt/debian/invirt-base.init @ 2955

Last change on this file since 2955 was 2840, checked in by gdb, 15 years ago

Have init script operate in the style of xvm-munin-config

  • Property svn:executable set to *
File size: 547 bytes
RevLine 
[2787]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
[2840]14PACKAGE=invirt-base
15GEN_FILES=/etc/krb5.conf.invirt
16
17dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0
18
19. /lib/init/config-init.sh
20config_init "$1"
Note: See TracBrowser for help on using the repository browser.