diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-09-05 12:15:09 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-09-05 12:15:09 +0000 |
commit | e3a2a63fcb3c40ea462ffb22d0be21bf50f1e370 (patch) | |
tree | d5e5b73ba256bb0060cb7e09b90a0265bcac482a /encap/src/encap-profiles | |
parent | aa01d9f934eb06963df417c94f0995b4b624f963 (diff) | |
download | bcfg2-e3a2a63fcb3c40ea462ffb22d0be21bf50f1e370.tar.gz bcfg2-e3a2a63fcb3c40ea462ffb22d0be21bf50f1e370.tar.bz2 bcfg2-e3a2a63fcb3c40ea462ffb22d0be21bf50f1e370.zip |
EncapPackages: Make daemontools work with Solaris init
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2202 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles')
-rw-r--r-- | encap/src/encap-profiles/daemontools-0.76.ep | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/encap/src/encap-profiles/daemontools-0.76.ep b/encap/src/encap-profiles/daemontools-0.76.ep index 477a04d4b..d5433ba2d 100644 --- a/encap/src/encap-profiles/daemontools-0.76.ep +++ b/encap/src/encap-profiles/daemontools-0.76.ep @@ -275,8 +275,8 @@ cp package/run.rclocal ${ENCAP_SOURCE}/${ENCAP_PKGNAME}/package mv package/run package/run.orig mv package/run.inittab package/run.inittab.orig mv package/boot.inittab package/boot.inittab.orig -mv package/run.rclocal package/run.inittab.orig -mv package/boot.rclocal package/boot.inittab.orig +mv package/run.rclocal package/run.rclocal.orig +mv package/boot.rclocal package/boot.rclocal.orig test -d var || mkdir var test -d var/svc.d || mkdir var/svc.d test -d var/svc.d/svscan || mkdir var/svc.d/svscan @@ -395,8 +395,8 @@ fi <include_file name="package/boot.inittab" mode="0644"><![CDATA[ -SV:2345:respawn:/command/svscan.rc start -SZ:S016:once:/command/svscan.rc stop +SV:2345:respawn:/command/svscan.rc start < /dev/null +SZ:S016:once:/command/svscan.rc stop < /dev/null ]]></include_file> <include_file name="package/run.rclocal" mode="0755"><![CDATA[ |