Bugfix: RO_ROOT was unbound.

This commit is contained in:
Bas v.d. Wiel 2023-03-12 16:34:25 +01:00
parent a73c7f6c5b
commit 267a21b875
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ EOF
# Remove the mount-at-boot script
function remove_mount_at_boot() {
RO_ROOT="no"
if [ "${MOUNT_AT_BOOT}" != "yes" ]; then
local ORIGINAL_SCRIPT_PATH="$0"
local NET_UP_SCRIPT="/etc/network/if-up.d/$(basename ${ORIGINAL_SCRIPT_PATH%.*})"