From: Stefan Schantl Date: Thu, 9 May 2013 17:25:22 +0000 (+0000) Subject: 6rd: Rename hook functions to match the latest function naming scheme. X-Git-Tag: 007~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3676015ea18d6d63464802b6dac204979168839;p=network.git 6rd: Rename hook functions to match the latest function naming scheme. --- diff --git a/hooks/zones/6rd b/hooks/zones/6rd index b8aafa7d..4c5999cb 100755 --- a/hooks/zones/6rd +++ b/hooks/zones/6rd @@ -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