Bump revision. --HG-- extra : convert_revision : 92395e9344284f2cfea1ee983d26b191fcfd77d8
20 lines
233 B
Bash
Executable File
20 lines
233 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 "Activating swap."
|
|
swapon -a
|
|
}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|