source: trunk/packages/xvm-iscsi-config/debian/xvm-iscsi-config.init @ 2813

Last change on this file since 2813 was 1930, checked in by price, 16 years ago

tweak xvm-iscsi-config.init to emit log messages correctly

  • Property svn:executable set to *
File size: 631 bytes
Line 
1#! /bin/bash
2### BEGIN INIT INFO
3# Provides:          xvm-iscsi-config
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: XVM iSCSI config
9# Description:       Re-generate the iSCSI config for XVM's shared storage
10### END INIT INFO
11
12# Author: SIPB XVM Project <xvm@mit.edu>
13
14PACKAGE=xvm-iscsi-config
15PATH=/sbin:/usr/sbin:/bin:/usr/bin
16GEN_FILES=/etc/iscsi/iscsid.conf.xvm
17
18# Read configuration variable file if it is present
19[ -r /etc/default/$NAME ] && . /etc/default/$NAME
20
21. /lib/init/config-init.sh
22
23config_init "$1"
Note: See TracBrowser for help on using the repository browser.