Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/ggated
| #!/bin/sh | #!/bin/sh | ||||
| # PROVIDE: ggated | # PROVIDE: ggated | ||||
| # REQUIRE: NETWORKING | # REQUIRE: NETWORKING | ||||
| . /etc/rc.subr | . /etc/rc.subr | ||||
| name="ggated" | name="ggated" | ||||
| desc="GEOM Gate network daemon" | desc="GEOM Gate network daemon" | ||||
| rcvar="ggated_enable" | rcvar="ggated_enable" | ||||
| command="/sbin/${name}" | command="/sbin/${name}" | ||||
| pidfile="/var/run/${name}.pid" | pidfile="/var/run/${name}.pid" | ||||
| load_rc_config $name | load_rc_config $name | ||||
| required_files="${ggated_config}" | required_files="${ggated_config}" | ||||
| # XXX?: doesn't make sense to run in a svcj: low-level access | |||||
| ggated_svcj="NO" | |||||
| command_args="${ggated_config}" | command_args="${ggated_config}" | ||||
| run_rc_command "$1" | run_rc_command "$1" | ||||