Browse Source

* changed sheba to also start vservers-default at bootup

legacy/0.1-legacy
Alejandro Mery 18 years ago
parent
commit
0a90ecb15d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pkg_vserver.conf

+ 2
- 1
pkg_vserver.conf

@ -2,7 +2,7 @@
sheba_activate_vserver() {
local runitdir=$root/etc/runit/
local initddir=/etc/rc.d/init.d/
local initddir=/etc/rc.d/init.d
cat <<EOT > $root/$initddir/vserver
#!/bin/sh
@ -18,6 +18,7 @@ EOT
ln -snfv $initddir/vserver $runitdir/1.d/20vserver
ln -snfv $initddir/vprocunhide $runitdir/1.d/26vprocunhide
ln -snfv $initddir/vprocunhide $runitdir/3.d/74vprocunhide
ln -snfv $initddir/vservers-default $runitdir/1.d/98vservers-default
}
. $confdir/$pkg.conf

Loading…
Cancel
Save