net/*: properly group interfaces on linkup

This commit is contained in:
Franco Fichtner
2016-08-10 17:08:27 +02:00
parent 229fb74495
commit 7f0f05199e
6 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
PLUGIN_NAME= l2tp
PLUGIN_VERSION= 1.0
PLUGIN_REVISION= 2
PLUGIN_REVISION= 3
PLUGIN_DEPENDS= clog mpd5
PLUGIN_COMMENT= L2TP server based on MPD5
PLUGIN_MAINTAINER= franco@opnsense.org
@@ -78,6 +78,7 @@ function if_l2tp_link_scripts($rootdir, $logtype = 'l2tp')
#!/bin/sh
/usr/bin/logger -p local3.info "login,%s,$4,$5"
/sbin/ifconfig $1 group l2tp
EOD;
$down = <<<'EOD'
+1 -1
View File
@@ -1,6 +1,6 @@
PLUGIN_NAME= pppoe
PLUGIN_VERSION= 1.0
PLUGIN_REVISION= 1
PLUGIN_REVISION= 2
PLUGIN_DEPENDS= clog mpd5
PLUGIN_COMMENT= PPPoE server based on MPD5
PLUGIN_MAINTAINER= franco@opnsense.org
@@ -85,6 +85,7 @@ function if_pppoe_link_scripts($rootdir, $logtype = 'poes')
#!/bin/sh
/usr/bin/logger -p local3.info "login,%s,$4,$5"
/sbin/ifconfig $1 group pppoe
EOD;
$down = <<<'EOD'
+1 -1
View File
@@ -1,6 +1,6 @@
PLUGIN_NAME= pptp
PLUGIN_VERSION= 1.0
PLUGIN_REVISION= 1
PLUGIN_REVISION= 2
PLUGIN_DEPENDS= clog mpd5
PLUGIN_COMMENT= PPTP server based on MPD5
PLUGIN_MAINTAINER= franco@opnsense.org
@@ -78,6 +78,7 @@ function if_pptp_link_scripts($rootdir, $logtype = 'pptp')
#!/bin/sh
/usr/bin/logger -p local3.info "login,%s,$4,$5"
/sbin/ifconfig $1 group pptp
EOD;
$down = <<<'EOD'