Commit 2e10edd4 authored by Jondy Zhao's avatar Jondy Zhao

slapos-configure: don't exit once re6stnet service start failed, try to

fix this problem by the script.
parent 2b1b00b5
...@@ -433,15 +433,15 @@ if check_re6stnet_needed ; then ...@@ -433,15 +433,15 @@ if check_re6stnet_needed ; then
fi fi
echo "You can check log files in the /var/log/re6stnet/*.log" echo "You can check log files in the /var/log/re6stnet/*.log"
if ! check_cygwin_service $re6stnet_service_name ; then if ! check_cygwin_service $re6stnet_service_name ; then
csih_error_multi "Failed to start $re6stnet_service_name service. " \ csih_inform "Service $re6stnet_service_name is not running. "
"One possible case is that re6stnet service is shutdown in unusual ways, " \ csih_inform "One possible case is that re6stnet service is shutdown in unusual ways, "
"and in this case, you can fix it by removing '/var/lib/re6stnet'." csih_inform "and in this case, you can fix it by removing '/var/lib/re6stnet'."
if csih_request "Do you want to let me remove '/var/lib/re6stnet' for you?" ; then if csih_request "Do you want to let me remove '/var/lib/re6stnet' for you?" ; then
rm -rf /var/lib/re6stnet rm -rf /var/lib/re6stnet
fi
check_cygwin_service $re6stnet_service_name || check_cygwin_service $re6stnet_service_name ||
csih_error "Failed to start $re6stnet_service_name service." csih_error "Failed to start $re6stnet_service_name service."
fi fi
fi
else else
echo "Native IPv6 found, no taps required." echo "Native IPv6 found, no taps required."
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment