Changeset 1275 for trunk


Ignore:
Timestamp:
Oct 25, 2008, 7:03:22 PM (16 years ago)
Author:
broder
Message:

Fix invirt-xen-config's init script

Location:
trunk/packages/invirt-xen-config/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-xen-config/debian/changelog

    r1272 r1275  
     1invirt-xen-config (0.0.3) unstable; urgency=low
     2
     3  * Some small fixes in the init script
     4
     5 -- Evan Broder <broder@mit.edu>  Sat, 25 Oct 2008 19:03:12 -0400
     6
    17invirt-xen-config (0.0.2) unstable; urgency=low
    28
  • trunk/packages/invirt-xen-config/debian/invirt-xen-config.init

    r1261 r1275  
    1 #!/bin/sh
     1#!/bin/bash
    22### BEGIN INIT INFO
    33# Provides:          invirt-xen-config
     
    1111
    1212PACKAGE=invirt-xen-config
     13NAME="$PACKAGE"
     14DESC="Startup script for the Invirt Xen host"
    1315PARENTPACKAGE=xend
    14 GEN_FILES=/etc/xen/xend-config.sxp
     16GEN_FILES=/etc/xen/xend-config.sxp.invirt
    1517
    1618dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0
     
    1921. /lib/init/std-init.sh
    2022
    21 do_start() {
     23do_startup() {
    2224    gen_files
    2325   
     
    3133}
    3234
     35do_start() {
     36    do_startup "start"
     37}
     38
    3339do_reload() {
    34     do_start
     40    do_startup "reload"
    3541}
    3642
Note: See TracChangeset for help on using the changeset viewer.