From: Felix Fietkau Date: Thu, 17 May 2012 12:35:56 +0000 (+0000) Subject: 6in4: remove some obsolete functions X-Git-Tag: reboot~13897 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d4961fbcb7ef2e18b2b337393de3522074397e5e;p=oweals%2Fopenwrt.git 6in4: remove some obsolete functions SVN-Revision: 31768 --- diff --git a/package/6in4/files/6in4.sh b/package/6in4/files/6in4.sh index 14748ebd10..6e433ba9ad 100755 --- a/package/6in4/files/6in4.sh +++ b/package/6in4/files/6in4.sh @@ -18,19 +18,6 @@ find_6in4_wanip() { echo "${ip%%[^0-9.]*}" } -# Hook into scan_interfaces() to synthesize a .device option -# This is needed for /sbin/ifup to properly dispatch control -# to setup_interface_6in4() even if no .ifname is set in -# the configuration. -scan_6in4() { - config_set "$1" device "6in4-$1" -} - -coldplug_interface_6in4() { - setup_interface_6in4 "6in4-$1" "$1" -} - - tun_error() { local cfg="$1"; shift;