]> git.ipfire.org Git - people/stevee/network.git/commitdiff
6rd: Rename hook functions to match the latest function naming scheme.
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 9 May 2013 17:25:22 +0000 (17:25 +0000)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 9 May 2013 17:25:22 +0000 (17:25 +0000)
hooks/zones/6rd

index b8aafa7d5f9015e3ad54e878b39a77df072539a5..4c5999cbafbbb18ea0558afa94fcbba05d85b945 100755 (executable)
@@ -36,7 +36,7 @@ SERVER_ADDRESS=""
 # The public IPv4 address of the tunnel client.
 PUBLIC_ADDRESS=""
 
-function _check() {
+function hook_check() {
        assert isset SIX_RD_PREFIX
        assert isset PUBLIC_ADDRESS
        assert isset SERVER_ADDRESS
@@ -70,7 +70,7 @@ function _check() {
        fi
 }
 
-function _parse_cmdline() {
+function hook_parse_cmdline() {
        local value
 
        while [ $# -gt 0 ]; do
@@ -96,7 +96,7 @@ function _parse_cmdline() {
        done
 }
 
-function _up() {
+function hook_up() {
        local zone="${1}"
        assert isset zone
 
@@ -129,7 +129,7 @@ function _up() {
        exit ${EXIT_OK}
 }
 
-function _down() {
+function hook_down() {
        local zone=${1}
        assert isset zone
 
@@ -144,7 +144,7 @@ function _down() {
        exit ${EXIT_OK}
 }
 
-function _status() {
+function hook_status() {
        local zone=${1}
        assert isset zone