From e9053b18863c020efbd8400f2a05ab629b30d7a9 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 12 Feb 2021 13:26:10 +0100 Subject: [PATCH] fix: shellcheck for modules.d/02systemd-networkd/module-setup.sh --- modules.d/02systemd-networkd/module-setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules.d/02systemd-networkd/module-setup.sh b/modules.d/02systemd-networkd/module-setup.sh index b7603a9d..ae853c74 100755 --- a/modules.d/02systemd-networkd/module-setup.sh +++ b/modules.d/02systemd-networkd/module-setup.sh @@ -43,10 +43,10 @@ install() { # inst_dir /var/lib/systemd/clock - grep '^systemd-network:' $dracutsysrootdir/etc/passwd 2>/dev/null >> "$initdir/etc/passwd" - grep '^systemd-network:' $dracutsysrootdir/etc/group >> "$initdir/etc/group" - # grep '^systemd-timesync:' $dracutsysrootdir/etc/passwd 2>/dev/null >> "$initdir/etc/passwd" - # grep '^systemd-timesync:' $dracutsysrootdir/etc/group >> "$initdir/etc/group" + grep '^systemd-network:' "$dracutsysrootdir"/etc/passwd 2>/dev/null >> "$initdir/etc/passwd" + grep '^systemd-network:' "$dracutsysrootdir"/etc/group >> "$initdir/etc/group" + # grep '^systemd-timesync:' "$dracutsysrootdir"/etc/passwd 2>/dev/null >> "$initdir/etc/passwd" + # grep '^systemd-timesync:' "$dracutsysrootdir"/etc/group >> "$initdir/etc/group" _arch=${DRACUT_ARCH:-$(uname -m)} inst_libdir_file {"tls/$_arch/",tls/,"$_arch/",}"libnss_dns.so.*" \