summaryrefslogtreecommitdiff
path: root/stage1/01-sys-tweaks
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.org>2018-03-02 20:08:24 +0000
committerSerge Schneider <serge@raspberrypi.org>2018-03-13 12:50:50 +0000
commitff2d5edee18efbb7ba2498e5bf8d308c186c4866 (patch)
tree380dd4fb8138fcbcf374839a880deb3191ca0725 /stage1/01-sys-tweaks
parent56da271499afe7ae8e35a8fd30f04135283b2fb0 (diff)
shellcheck
Diffstat (limited to 'stage1/01-sys-tweaks')
-rwxr-xr-xstage1/01-sys-tweaks/00-run.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/stage1/01-sys-tweaks/00-run.sh b/stage1/01-sys-tweaks/00-run.sh
index 4454056..61ba51b 100755
--- a/stage1/01-sys-tweaks/00-run.sh
+++ b/stage1/01-sys-tweaks/00-run.sh
@@ -1,8 +1,8 @@
#!/bin/bash -e
-install -d ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d
-install -m 644 files/noclear.conf ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/noclear.conf
-install -v -m 644 files/fstab ${ROOTFS_DIR}/etc/fstab
+install -d "${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d"
+install -m 644 files/noclear.conf "${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/noclear.conf"
+install -v -m 644 files/fstab "${ROOTFS_DIR}/etc/fstab"
on_chroot << EOF
if ! id -u pi >/dev/null 2>&1; then