Changeset View
Changeset View
Standalone View
Standalone View
head/etc/rc.d/localpkg
#!/bin/sh | #!/bin/sh | ||||
# | # | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# PROVIDE: localpkg | # PROVIDE: localpkg | ||||
# REQUIRE: abi | # REQUIRE: abi | ||||
# BEFORE: securelevel | # BEFORE: securelevel | ||||
# KEYWORD: shutdown | # KEYWORD: shutdown | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
name="localpkg" | name="localpkg" | ||||
desc="Run local init scripts" | |||||
start_cmd="pkg_start" | start_cmd="pkg_start" | ||||
stop_cmd="pkg_stop" | stop_cmd="pkg_stop" | ||||
pkg_start() | pkg_start() | ||||
{ | { | ||||
local initdone | local initdone | ||||
# For each dir in $local_startup, search for init scripts matching *.sh | # For each dir in $local_startup, search for init scripts matching *.sh | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |