title "updating /etc/hosts"
check rm -f /etc/hosts
check ln -s /etc/hosts.$MODE_BW /etc/hosts
+ check rm -f /etc/network/interfaces
+ case "$MODE_BW" in
+ 30MHzMDF.lite)
+ check ln -s /etc/network/interfaces.lite /etc/network/interfaces
+ ;;
+ *)
+ check ln -s /etc/network/interfaces.default /etc/network/interfaces
+ ;;
+ esac
TARBALLS+=" root"
for ip in 0A851{A,C}; do check ln -T -f -s default /opt/tftp/pxelinux.cfg/$ip; done
case "$MODE_BW" in
# last check
[ "$action" ] || { echo "no mode specified"; exit 1; }
-[ "$TARBALLS" ] && make -f /opt/cluster/Makefile $TARBALLS
+[ ! "$TARBALLS" ] || make -f /opt/cluster/Makefile $TARBALLS
# vim:set tabstop=4 expandtab shiftwidth=4: