summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/swap1
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/swap1')
-rwxr-xr-xetc/rc.d/swap116
1 files changed, 2 insertions, 14 deletions
diff --git a/etc/rc.d/swap1 b/etc/rc.d/swap1
index c558b1b..e3341b1 100755
--- a/etc/rc.d/swap1
+++ b/etc/rc.d/swap1
@@ -11,20 +11,8 @@
. /etc/rc.subr
name="swap1"
-
-case ${OSTYPE} in
-FreeBSD)
- start_cmd='swapon -a'
- stop_cmd=':'
- ;;
-NetBSD)
- # Add all block-type swap devices; these might be necessary
- # during disk checks.
- #
- start_cmd="swap1_start"
- stop_cmd="swap1_stop"
- ;;
-esac
+start_cmd='swapon -a'
+stop_cmd=':'
# Add all block-type swap devices; these might be necessary
# during disk checks.
OpenPOWER on IntegriCloud