Ignore:
Timestamp:
Jan 1, 2010, 10:47:50 PM (15 years ago)
Author:
gdb
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-base/hvirt/debian/invirt-base.init

    r2787 r2840  
    1111
    1212# Author: Invirt Project <invirt@mit.edu>
    13 PATH=/sbin:/usr/sbin:/bin:/usr/bin
    1413
    15 if [ -x /usr/bin/invirt-getconf -a -f /etc/krb5.conf.invirt ]; then
    16     /usr/bin/perl -i -e '$r = `/usr/bin/invirt-getconf kerberos.realm`; chomp($r);
    17       while(<>) { s/^([ \t]*default_realm *=).*$/\1 $r/m; print; }' /etc/krb5.conf.invirt
    18 fi
     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 TracChangeset for help on using the changeset viewer.