- Timestamp:
- Jan 1, 2010, 10:47:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-base/hvirt/debian/invirt-base.init
r2787 r2840 11 11 12 12 # Author: Invirt Project <invirt@mit.edu> 13 PATH=/sbin:/usr/sbin:/bin:/usr/bin14 13 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 14 PACKAGE=invirt-base 15 GEN_FILES=/etc/krb5.conf.invirt 16 17 dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0 18 19 . /lib/init/config-init.sh 20 config_init "$1"
Note: See TracChangeset
for help on using the changeset viewer.