Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/init/rc.d/swaplate
Property | Old Value | New Value |
---|---|---|
svn:executable | null | * \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
#!/bin/sh | |||||
# | |||||
# $FreeBSD$ | |||||
# | |||||
# PROVIDE: swaplate | |||||
# REQUIRE: mountlate | |||||
# KEYWORD: nojail shutdown | |||||
. /etc/rc.subr | |||||
name="swaplate" | |||||
desc="Setup late swap space" | |||||
start_cmd='/sbin/swapon -aLq' | |||||
stop_cmd='/sbin/swapoff -aLq' | |||||
load_rc_config swap | |||||
run_rc_command "$1" |