Skip to content

Commit 24f51ff

Browse files
authored
arc: set eth0 to default is offline
Signed-off-by: Christian <info@auxxxilium.tech>
1 parent bb4dec1 commit 24f51ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files/initrd/opt/arc/arc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if [ "${OFFLINE}" == "false" ]; then
4747
writeConfigKey "arc.nic" "${ARCNIC}" "${USER_CONFIG_FILE}"
4848
writeConfigKey "arc.offline" "false" "${USER_CONFIG_FILE}"
4949
elif [ -z "${ARCNIC}" ] && [ "${CUSTOM}" == "false" ]; then
50-
writeConfigKey "arc.nic" "" "${USER_CONFIG_FILE}"
50+
writeConfigKey "arc.nic" "eth0" "${USER_CONFIG_FILE}"
5151
writeConfigKey "arc.offline" "true" "${USER_CONFIG_FILE}"
5252
cp -f "${PART3_PATH}/configs/offline.json" "${ARC_PATH}/include/offline.json"
5353
dialog --backtitle "$(backtitle)" --title "Online Check" \
@@ -1206,4 +1206,4 @@ echo -e "User: \033[1;34mroot\033[0m"
12061206
echo -e "Password: \033[1;34marc\033[0m"
12071207
echo
12081208
echo -e "Web Terminal:"
1209-
echo -e "Address: \033[1;34mhttp://${IPCON}:7681\033[0m"
1209+
echo -e "Address: \033[1;34mhttp://${IPCON}:7681\033[0m"

0 commit comments

Comments
 (0)