Home | History | Annotate | Download | only in ip

Lines Matching full:then

7   if [ -d $sbase ]; then
25 if [ "$1" = "" -o $class -eq 0 -o $class -ge 224 ]; then return 0
26 elif [ $class -ge 224 ]; then return 0
27 elif [ $class -ge 192 ]; then return 24
28 elif [ $class -ge 128 ]; then return 16
35 if [ "$dev" = "" -o "$1" = "help" ]; then
46 if [ $fwd -ne 0 ]; then
55 if [ "$ldev" != "$dev" ]; then
60 if [ $fwd -eq 0 ]; then RestartRDISC; fi
69 if [ "$1" != "" ]; then
71 if [ "$1" != "$ipaddr" ]; then
74 if [ "$ipaddr" = "" ]; then
82 if [ "$peer" != "" ]; then
83 if [ "$pfxlen" != "" -a "$pfxlen" != "32" ]; then
89 if [ "$ipaddr" = "" ]; then
93 if [ "$pfxlen" = "" ]; then
100 if [ "$ldev" = "$dev" -a "$ipaddr" != "" ]; then
104 if [ $deleting -ne 0 ]; then
106 if [ $fwd -eq 0 ]; then RestartRDISC; fi
111 if ! ip link set up dev $dev ; then
115 if [ "$ipaddr" = "" ]; then exit 0; fi
117 if ! arping -q -c 2 -w 3 -D -I $dev $ipaddr ; then
122 if ! ip address add $pfx brd + dev $dev $label; then
134 if [ `ip link ls $dev | grep -c MULTICAST` -ge 1 ]; then
138 if [ $fwd -eq 0 ]; then
139 if [ $noarp -eq 0 ]; then
141 elif [ "$peer" != "" ]; then
142 if ping -q -c 2 -w 4 $peer ; then