Changeset 25474


Ignore:
Timestamp:
2011-02-12T17:15:18+01:00 (6 years ago)
Author:
jow
Message:

[backfire] merge r24194, r25471 (#8845)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/base-files/files/lib/network/config.sh

    r25455 r25474  
    33 
    44# DEBUG="echo" 
     5 
     6do_sysctl() { 
     7        [ -n "$2" ] && \ 
     8                sysctl -n -e -w "$1=$2" >/dev/null || \ 
     9                sysctl -n -e "$1" 
     10} 
    511 
    612find_config() { 
     
    404410                for brdev in $(brctl show | awk '$2 ~ /^[0-9].*\./ { print $1 }'); do 
    405411                        brctl delif "$brdev" "$dev" 2>/dev/null >/dev/null 
     412                        do_sysctl "net.ipv6.conf.$dev.disable_ipv6" 0 
    406413                done 
    407414        } 
Note: See TracChangeset for help on using the changeset viewer.