From feccaa95b5f81822e038cc13686a4371708d9f42 Mon Sep 17 00:00:00 2001 From: torben Date: Thu, 6 Sep 2018 10:35:31 +0200 Subject: fix. --- modules.d/systemd-networkd-ext/module-setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules.d/systemd-networkd-ext/module-setup.sh b/modules.d/systemd-networkd-ext/module-setup.sh index f2edbef0..255d8ad5 100755 --- a/modules.d/systemd-networkd-ext/module-setup.sh +++ b/modules.d/systemd-networkd-ext/module-setup.sh @@ -373,9 +373,10 @@ EOF cat << EOF ) if \\ - [ ! -f /mnt/slx_writable_device/booted_to_wlan ] && \\ - [[ "\$SLX_WIRELESS_MAC" != false ]] || - \$SLX_WRITABLE_DEVICE_REMOVE_CACHE + [[ "\$SLX_WIRELESS_MAC" != false ]] && [[ + \$SLX_WRITABLE_DEVICE_REMOVE_CACHE || \\ + ! -f /mnt/slx_writable_device/booted_to_wlan + ]] then for path in "\${file_paths[@]}"; do if ! [ -d "\$NEWROOT\$(dirname "\$path")" ]; then -- cgit v1.2.3-55-g7522