diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-07 15:00:30 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-07 15:00:30 +0000 |
commit | 29548015d9d24f64cbf49f15bb4229de33355c53 (patch) | |
tree | 06aa56a47ba7b752726c01298401f5ae813b1e58 /etc | |
parent | 5bda689985e8067a68e3bdae2290672af6e5172f (diff) | |
download | pfsense-29548015d9d24f64cbf49f15bb4229de33355c53.zip pfsense-29548015d9d24f64cbf49f15bb4229de33355c53.tar.gz |
Mute vlan destroy at boot
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 9db2d9d..4202c9f 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -71,7 +71,7 @@ function interface_vlan_configure($if, $tag, $vlanif = "") { mwexec("/sbin/ifconfig " . escapeshellarg($if) . " up vlanhwtag vlanmtu"); if ($g['booting'] || !(empty($vlanif))) { - mwexec("/sbin/ifconfig {$vlanif} destroy"); + mwexec("/sbin/ifconfig {$vlanif} destroy", true); mwexec("/sbin/ifconfig {$vlanif} create"); } else $vlanif = exec("/sbin/ifconfig vlan create"); |