diff options
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0/mountall.sh')
-rwxr-xr-x | meta/packages/initscripts/initscripts-1.0/mountall.sh | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/mountall.sh b/meta/packages/initscripts/initscripts-1.0/mountall.sh index b5cb85a1e9..84227a5fe3 100755 --- a/meta/packages/initscripts/initscripts-1.0/mountall.sh +++ b/meta/packages/initscripts/initscripts-1.0/mountall.sh @@ -27,19 +27,7 @@ kill -USR1 1 # Execute swapon command again, in case we want to swap to # a file on a now mounted filesystem. # -doswap=yes -case "`uname -r`" in - 2.[0123].*) - if grep -qs resync /proc/mdstat - then - doswap=no - fi - ;; -esac -if test $doswap = yes -then - swapon -a 2> /dev/null -fi +swapon -a 2> /dev/null : exit 0 |