Sindbad~EG File Manager

Current Path : /var/tmp/mergemaster/preserved-files-170206-102132/etc/rc.d/
Upload File :
Current File : //var/tmp/mergemaster/preserved-files-170206-102132/etc/rc.d/pppoed

#!/bin/sh
#
# $FreeBSD: releng/9.2/etc/rc.d/pppoed 231653 2012-02-14 10:16:56Z dougb $
#

# PROVIDE: pppoed
# REQUIRE: NETWORKING
# BEFORE: DAEMON
# KEYWORD: nojail

. /etc/rc.subr

name="pppoed"
rcvar="pppoed_enable"
start_cmd="pppoed_start"
# XXX stop_cmd will not be straightforward
stop_cmd=":"

pppoed_start()
{
	local _opts

	if [ -n "${pppoed_provider}" ]; then
			pppoed_flags="${pppoed_flags} -p ${pppoed_provider}"
	fi
	echo 'Starting pppoed'
	_opts=$-; set -f
	/usr/libexec/pppoed ${pppoed_flags} ${pppoed_interface}
	set +f; set -${_opts}
}

load_rc_config $name
run_rc_command "$1"

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists