]> git.ipfire.org Git - people/ms/network.git/commitdiff
util: Remove touch replacement.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 23 Jun 2012 22:13:55 +0000 (22:13 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 23 Jun 2012 22:13:55 +0000 (22:13 +0000)
The removed function removed all content from the file which
is inconvenient. Touch is not called too often though.

functions.ipv6
functions.util

index 5ec4494a4d5360d046d57336cd6a11a3296e4de2..53c79a0759ddf6e31c4de9ac7e6ba572a1ddfa41 100644 (file)
@@ -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
index 88b6c0cb84947b566a6d981718cbc9185879ba17..0f1d20db93beabbc3bcb99221a0d700b276f3533 100644 (file)
@@ -80,12 +80,6 @@ function basename() {
        echo "${1##*/}"
 }
 
-function touch() {
-       local file=${1}
-
-       : > ${file}
-}
-
 function enabled() {
        local param=${1}