From f3ab2af9da9cea54ec7889b11cb6c28a4e2b0e0d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 23 Jun 2012 22:13:55 +0000 Subject: [PATCH] util: Remove touch replacement. The removed function removed all content from the file which is inconvenient. Touch is not called too often though. --- functions.ipv6 | 8 ++++---- functions.util | 6 ------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/functions.ipv6 b/functions.ipv6 index 5ec4494a..53c79a07 100644 --- a/functions.ipv6 +++ b/functions.ipv6 @@ -25,12 +25,12 @@ function ipv6_init() { log INFO "Initializing IPv6 networking." # Enable forwarding on all devices - ipv6_device_forwarding_disable all - ipv6_device_forwarding_disable default + #ipv6_device_forwarding_disable all + #ipv6_device_forwarding_disable default # Disable autoconfiguration on all devices per default - ipv6_device_autoconf_disable all - ipv6_device_autoconf_disable default + #ipv6_device_autoconf_disable all + #ipv6_device_autoconf_disable default # XXX do we need this? #local device diff --git a/functions.util b/functions.util index 88b6c0cb..0f1d20db 100644 --- a/functions.util +++ b/functions.util @@ -80,12 +80,6 @@ function basename() { echo "${1##*/}" } -function touch() { - local file=${1} - - : > ${file} -} - function enabled() { local param=${1} -- 2.47.3