#!/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"