From e3676015ea18d6d63464802b6dac204979168839 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Thu, 9 May 2013 17:25:22 +0000 Subject: [PATCH] 6rd: Rename hook functions to match the latest function naming scheme. --- hooks/zones/6rd | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.47.3