diff options
Diffstat (limited to 'etc/rc.d/swap')
-rwxr-xr-x | etc/rc.d/swap | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/rc.d/swap b/etc/rc.d/swap new file mode 100755 index 0000000..4122e61 --- /dev/null +++ b/etc/rc.d/swap @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: swap +# REQUIRE: disks +# KEYWORD: nojail shutdown + +. /etc/rc.subr + +name="swap" +start_cmd='/sbin/swapon -aq' +stop_cmd=':' + +load_rc_config $name +run_rc_command "$1" |