diff options
Diffstat (limited to 'package/base-files/src/init')
-rwxr-xr-x | package/base-files/src/init | 2 |
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 |