init.d/swap: remove the case for linux
I am removing the separate case for Linux, because we are droppping the "-e" switch.
This commit is contained in:
parent
bbf98befb8
commit
0a76627345
@ -19,7 +19,6 @@ start()
|
|||||||
{
|
{
|
||||||
ebegin "Activating swap devices"
|
ebegin "Activating swap devices"
|
||||||
case "$RC_UNAME" in
|
case "$RC_UNAME" in
|
||||||
Linux) swapon -a -e >/dev/null;;
|
|
||||||
NetBSD|OpenBSD) swapctl -A -t noblk >/dev/null;;
|
NetBSD|OpenBSD) swapctl -A -t noblk >/dev/null;;
|
||||||
*) swapon -a >/dev/null;;
|
*) swapon -a >/dev/null;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user