Soft'N'Design Software
/
projects
/
debian6500.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
restore default ip configuration
[debian6500.git]
/
master
/
opt
/
script
/
change_configuration
diff --git
a/master/opt/script/change_configuration
b/master/opt/script/change_configuration
index ef715b75cf6567f85c39d44ae9929cd4a5cb891c..6d72f64b07bd4a365804912b72b3fa14d022c351 100755
(executable)
--- a/
master/opt/script/change_configuration
+++ b/
master/opt/script/change_configuration
@@
-82,6
+82,15
@@
if [ "$MODE_BW" ]; then
title "updating /etc/hosts"
check rm -f /etc/hosts
check ln -s /etc/hosts.$MODE_BW /etc/hosts
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
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