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

Last change on this file since 1507 was 1507, checked in by broder, 16 years ago

Cleanup the init script and copyright file in xvm-iscsi-config

  • Property svn:executable set to *
File size: 662 bytes
Line 
1#! /bin/sh
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
14NAME=xvm-iscsi-config
15DESC="Re-generate the iSCSI config"
16PATH=/sbin:/usr/sbin:/bin:/usr/bin
17GEN_FILES=/etc/iscsi/iscsid.conf.xvm
18
19# Read configuration variable file if it is present
20[ -r /etc/default/$NAME ] && . /etc/default/$NAME
21
22. /lib/init/config-init.sh
23
24config_init "$1"
Note: See TracBrowser for help on using the repository browser.