shellcheck fixes

This commit is contained in:
Tobias Powalowski 2024-06-18 10:08:37 +02:00
parent 951fb15812
commit 1dfb8827f5
3 changed files with 5 additions and 5 deletions

View file

@ -123,6 +123,7 @@ openssh/LICENCE
openssl/LICENSE.txt
sqlite/license.txt
e2fsprogs/MIT-LICENSE)
#shellcheck disable=SC2068
for i in ${_LICENSES[@]};do
_file /usr/share/licenses/"${i}"
done

View file

@ -10,8 +10,8 @@ _run ()
# add iproute 2, add openssl helper libraries
_map _full_dir /usr/lib/{tc,engines-3} /usr/share/tc
# add config for rustmap, no nmap available
echo "ulimit = 5000" >> ${_ROOTFS}/root/.rustscan.toml
echo "scripts = \"None\"" >> ${_ROOTFS}/root/.rustscan.toml
echo "ulimit = 5000" >> "${_ROOTFS}"/root/.rustscan.toml
echo "scripts = \"None\"" >> "${_ROOTFS}"/root/.rustscan.toml
# add elinks defaults
_file_rename /usr/share/archboot/net/etc/elinks/bookmarks /etc/elinks/bookmarks
_file_rename /usr/share/archboot/net/etc/profile.d/elinks.sh /etc/profile.d/elinks.sh

View file

@ -23,8 +23,8 @@ _run ()
fi
# switch port to ARCH and disable password login
_file_rename /etc/ssh/sshd_config /etc/ssh/sshd_config
echo "Port 11838" >> ${_ROOTFS}/etc/ssh/sshd_config
echo "PasswordAuthentication no" >> ${_ROOTFS}/etc/ssh/sshd_config
echo "Port 11838" >> "${_ROOTFS}"/etc/ssh/sshd_config
echo "PasswordAuthentication no" >> "${_ROOTFS}"/etc/ssh/sshd_config
_full_dir /usr/lib/libnfsidmap
# fix libldap for /usr/lib/nfsidmap/umich_ldap.so
_file /usr/lib/libldap.so{,.2}
@ -48,7 +48,6 @@ _run ()
/etc/systemd/system/ttyd.service
_symlink /etc/systemd/system/multi-user.target.wants/ttyd.service \
/etc/systemd/system/ttyd.service
}
# vim: set ft=sh ts=4 sw=4 et: