From: Michael Tremer Date: Sat, 23 Jun 2012 22:13:55 +0000 (+0000) Subject: util: Remove touch replacement. X-Git-Tag: 004~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3ab2af9da9cea54ec7889b11cb6c28a4e2b0e0d;p=network.git util: Remove touch replacement. The removed function removed all content from the file which is inconvenient. Touch is not called too often though. --- 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}