Generally, anything that runs rc.d scripts internally should
start using the quiet prefix (i.e. quietstart, quietstop, etc...).
This commit is contained in:
parent
8a4d372e93
commit
ae4d6ea88f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175686
@ -24,7 +24,7 @@ ipfw_start()
|
||||
|
||||
if [ -r "${firewall_script}" ]; then
|
||||
if [ -f /etc/rc.d/natd ] ; then
|
||||
/etc/rc.d/natd start
|
||||
/etc/rc.d/natd quietstart
|
||||
fi
|
||||
/bin/sh "${firewall_script}"
|
||||
echo 'Firewall rules loaded.'
|
||||
@ -52,7 +52,7 @@ ipfw_stop()
|
||||
#
|
||||
${SYSCTL_W} net.inet.ip.fw.enable=0
|
||||
if [ -f /etc/rc.d/natd ] ; then
|
||||
/etc/rc.d/natd stop
|
||||
/etc/rc.d/natd quietstop
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ mountcritremote_start()
|
||||
done
|
||||
|
||||
# Cleanup /var again just in case it's a network mount.
|
||||
/etc/rc.d/cleanvar reload
|
||||
/etc/rc.d/cleanvar quietreload
|
||||
rm -f /var/run/clean_var /var/spool/lock/clean_var
|
||||
}
|
||||
|
||||
|
@ -82,8 +82,8 @@ ppp_poststart()
|
||||
{
|
||||
# Re-Sync ipfilter and pf so they pick up any new network interfaces
|
||||
#
|
||||
/etc/rc.d/ipfilter resync
|
||||
/etc/rc.d/pf resync
|
||||
/etc/rc.d/ipfilter quietresync
|
||||
/etc/rc.d/pf quietresync
|
||||
}
|
||||
|
||||
ppp_stop_profile() {
|
||||
|
Loading…
Reference in New Issue
Block a user