diff options
author | torben | 2018-09-06 10:35:31 +0200 |
---|---|---|
committer | torben | 2018-09-06 10:35:31 +0200 |
commit | feccaa95b5f81822e038cc13686a4371708d9f42 (patch) | |
tree | fb3918cfaf0c11ba26ad85a6678b97a3b392cb78 | |
parent | Imptrove boot process performance. (diff) | |
download | systemd-init-feccaa95b5f81822e038cc13686a4371708d9f42.tar.gz systemd-init-feccaa95b5f81822e038cc13686a4371708d9f42.tar.xz systemd-init-feccaa95b5f81822e038cc13686a4371708d9f42.zip |
fix.
-rwxr-xr-x | modules.d/systemd-networkd-ext/module-setup.sh | 7 |
1 files 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 |