summaryrefslogtreecommitdiff
path: root/package/base-files/src/init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-19 09:52:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-19 09:52:45 +0200
commit794a4a75d2e2c513e55b8962ad9e8e470dd82ba8 (patch)
tree451fd95b4cc5397612a38a13326dc24add046fb1 /package/base-files/src/init
parent2f172e3c8d13eb5810d39b3e86c5fae388ba2bfa (diff)
make virsh, virt-install and kvm usable on shuttle pc
Diffstat (limited to 'package/base-files/src/init')
-rwxr-xr-xpackage/base-files/src/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/src/init b/package/base-files/src/init
index c57149fe3..cfd264c3e 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -22,5 +22,5 @@ cat /etc/.rnd >/dev/urandom 2>&1
[ -x /kexecinit ] && { /kexecinit; }
[ -x /cryptinit ] && { /cryptinit; exec switch_root /mnt "/init";}
[ -x /sbin/cfgfs ] && { cfgfs setup; mount -o remount,ro /;} || mount -o remount,rw /
-[ -f /etc/fstab ] && { fsck -p >/dev/null; mount -a;}
+[ -f /etc/fstab ] && { fsck -p >/dev/null; mount -a; swapon -a;}
exec /sbin/init