diff options
author | yar <yar@FreeBSD.org> | 2006-12-30 22:53:20 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2006-12-30 22:53:20 +0000 |
commit | c91e4c56f635b3ce863d881f8a49d213248826f9 (patch) | |
tree | 48f5b2fe4337977e994033a03ecdb0d82ffe59a6 /etc/rc.d/pppoed | |
parent | 04d777c063bfd2bb16af385cd179669da6a2404e (diff) | |
download | FreeBSD-src-c91e4c56f635b3ce863d881f8a49d213248826f9.zip FreeBSD-src-c91e4c56f635b3ce863d881f8a49d213248826f9.tar.gz |
Eliminate global symbols starting with an underscore from rc.d
scripts, except for mdconfig* and jail. Such symbols are reserved
for the rc.subr internals. Most scripts can be fixed by just
declaring _foo symbols as local: few scripts actually need them to
be global.
Discussed with: dougb in freebsd-rc
Diffstat (limited to 'etc/rc.d/pppoed')
-rw-r--r-- | etc/rc.d/pppoed | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.d/pppoed b/etc/rc.d/pppoed index b9cfb14..c939112 100644 --- a/etc/rc.d/pppoed +++ b/etc/rc.d/pppoed @@ -18,6 +18,8 @@ stop_cmd=":" pppoed_start() { + local _opts + if [ -n "${pppoed_provider}" ]; then pppoed_flags="${pppoed_flags} -p ${pppoed_provider}" fi |