a3190ec48c
--HG-- extra : convert_revision : 97fb9127cb91659331f1574a19a8871fed30a0ab
20 lines
250 B
Bash
Executable file
20 lines
250 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# PROVIDE: swap
|
|
# REQUIRE: SERVERS mountfs
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
name="swap"
|
|
start_cmd="swap_start"
|
|
stop_cmd=":"
|
|
|
|
swap_start()
|
|
{
|
|
echo -n "Activating swap... "
|
|
swapon -a
|
|
show_rval
|
|
}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|