Browse Source

fix: shellcheck for modules.d/02systemd-networkd/module-setup.sh

master
Harald Hoyer 4 years ago committed by Harald Hoyer
parent
commit
e9053b1886
  1. 8
      modules.d/02systemd-networkd/module-setup.sh

8
modules.d/02systemd-networkd/module-setup.sh

@ -43,10 +43,10 @@ install() { @@ -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.*" \

Loading…
Cancel
Save