Dmitry Yu Okunev лет назад: 9
Родитель
Сommit
301e94f5e3
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      ipw

+ 4 - 0
ipw

@@ -311,6 +311,10 @@ case "$CMD" in
 	fix)	#fix all interfaces to config state
 		#brctl addif bond0 eth2
 
+		if [[ "$IPW_DEBUG" -ge "2" ]]; then
+			cat "$IPW_CONFIG_PATH" > /tmp/ipw.conf-fix.$(date +'%Y%m%d%H%M%S')
+		fi
+
 		if [[ "$IPW_CONFIG_PATH" != "/dev/null" ]]; then
 			if [[ "$(cat $IPW_CONFIG_PATH 2>/dev/null)" = "" ]]; then
 				eerror "Empty config file"