← Commit list

98aeabe79

Thomas Petazzoni
Thomas Petazzoni
2011-08-09
FAILED Duration: 211s

Subject

zcip.script: fix $ip environment variable

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

examples/zcip.script+2 -2
@@ -20,9 +20,9 @@ config)
exit 1
fi
# remember $ip for $interface, to use on restart
- if [ "x$IP" != x -a -w "$IP.$interface" ]
+ if [ "x$ip" != x -a -w "$ip.$interface" ]
then
- echo $ip > "$IP.$interface"
+ echo $ip > "$ip.$interface"
fi
exec ip address add dev $interface \
scope link local "$ip/16" broadcast +