]> git.ipfire.org Git - people/stevee/network.git/blobdiff - hooks/zones/bridge.configs/pppoe-server
Renew hook function naming scheme.
[people/stevee/network.git] / hooks / zones / bridge.configs / pppoe-server
index 0b1cd4cc27828a7c150bc89c6d291ab81c82926d..9bf279a90ca349488878b8968cd98dd9ae61d3bb 100755 (executable)
@@ -37,13 +37,13 @@ SUBNET=
 # 0 = unlimited.
 MAX_SESSIONS=0
 
-function _check() {
+function hook_check() {
        assert isset MTU
        assert isset SUBNET
        assert isset MAX_SESSIONS
 }
 
-function _create() {
+function hook_create() {
        local zone=${1}
        shift
 
@@ -70,7 +70,7 @@ function _create() {
        exit ${EXIT_OK}
 }
 
-function _up() {
+function hook_up() {
        local zone=${1}
        local config=${2}
        shift 2
@@ -81,7 +81,7 @@ function _up() {
        exit ${EXIT_OK}
 }
 
-function _down() {
+function hook_down() {
        local zone=${1}
        local config=${2}
        shift 2
@@ -97,7 +97,7 @@ function _down() {
        exit ${EXIT_OK}
 }
 
-function _status() {
+function hook_status() {
        local zone=${1}
        local config=${2}
        shift 2