mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/*: properly group interfaces on linkup
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user