Changeset 30581


Ignore:
Timestamp:
2012-02-16T12:58:31+01:00 (6 years ago)
Author:
juhosg
Message:

packages: ipv6/tayga: add more checks

Signed-off-by: Alexey I. Froloff <raorn@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/ipv6/tayga/files/tayga.sh

    r28013 r30581  
    8282        [ -n "$wanip4" ] && [ -n "$wanip6" ] || { 
    8383                echo "Cannot determine local IPv4 and IPv6 addressed for tayga NAT64 $cfg - skipping" 
    84                 return 
     84                return 1 
    8585        } 
    8686 
     
    108108        uci_set_state network "$cfg" auto 0 
    109109 
    110         tayga $args --mktun 
     110        # here we create TUN device and check configuration 
     111        tayga $args --mktun || return 1 
     112 
    111113        ip link set "$link" up 
    112114 
Note: See TracChangeset for help on using the changeset viewer.