summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-12-18 15:16:52 +0100
committerErmal LUÇI <eri@pfsense.org>2014-12-18 15:17:21 +0100
commit65a6e535c4fe3dc288dc3a5adb1f9c2dd0b78088 (patch)
tree023cb365ffb22fe7015f6166a697f33860b65960 /etc/rc.linkup
parent02f65ece135c962b34548f2ec8ed9ed38ba22211 (diff)
downloadpfsense-65a6e535c4fe3dc288dc3a5adb1f9c2dd0b78088.zip
pfsense-65a6e535c4fe3dc288dc3a5adb1f9c2dd0b78088.tar.gz
Do not restart unneeded services. Also triger configuration for the proper interface.
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 59e2089..925260c 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -141,7 +141,9 @@ if (!empty($realiface)) {
foreach ($ports as $pid => $parent_if) {
/* The loop here is because ppp types can have real and assigned interfaces as members */
$tmpiface = get_real_interface($parent_if);
- $tmpiface = convert_real_interface_to_friendly_interface_name($tmpiface);
+ if ($tmpiface != $realiface)
+ continue;
+ $tmpiface = convert_real_interface_to_friendly_interface_name($ppp['if']);
if (!empty($tmpiface))
interface_configure($tmpiface, true, true);
}
OpenPOWER on IntegriCloud