mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 14:50:31 -04:00
Fixed error when stopping services. PR: 222197 Submitted by: Helen Koike (maintainer) Reported by: Vick Khera MFH: 2017Q4
27 lines
520 B
Bash
27 lines
520 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: google_network_setup
|
|
# BEFORE: LOGIN
|
|
# REQUIRE: NETWORKING syslogd google_instance_setup
|
|
#
|
|
# google_network_setup_enable (bool): Set to NO by default.
|
|
# Set it to YES to enable google_network_setup.
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="google_network_setup"
|
|
rcvar="google_network_setup_enable"
|
|
stop_cmd=":"
|
|
|
|
load_rc_config "${name}"
|
|
|
|
: ${google_network_setup_enable:="NO"}
|
|
|
|
command_interpreter="%%PYTHON_CMD%%"
|
|
command=%%PREFIX%%/bin/${name}
|
|
pidfile=/var/run/${name}.pid
|
|
|
|
run_rc_command "$1"
|