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

Last change on this file since 2181 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
RevLine 
[1527]1#! /bin/bash
[1496]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
[1930]14PACKAGE=xvm-iscsi-config
[1496]15PATH=/sbin:/usr/sbin:/bin:/usr/bin
[1507]16GEN_FILES=/etc/iscsi/iscsid.conf.xvm
[1496]17
18# Read configuration variable file if it is present
19[ -r /etc/default/$NAME ] && . /etc/default/$NAME
20
[1507]21. /lib/init/config-init.sh
[1496]22
[1507]23config_init "$1"
Note: See TracBrowser for help on using the repository browser.