-chroot $LXC_ROOTFS /usr/sbin/update-rc.d -f checkroot.sh disable > /dev/null 2>&1
-chroot $LXC_ROOTFS /usr/sbin/update-rc.d -f umountfs disable > /dev/null 2>&1
-chroot $LXC_ROOTFS /usr/sbin/update-rc.d -f hwclock.sh disable > /dev/null 2>&1
-chroot $LXC_ROOTFS /usr/sbin/update-rc.d -f hwclockfirst.sh disable > /dev/null 2>&1
-
-if [ -e ${LXC_ROOTFS}/etc/systemd/system/ ]; then
- touch ${LXC_ROOTFS}/etc/systemd/system/systemd-setup-dgram-qlen.service
- touch ${LXC_ROOTFS}/etc/systemd/system/dev-hugepages.mount
- touch ${LXC_ROOTFS}/etc/systemd/system/udev.service
- touch ${LXC_ROOTFS}/etc/systemd/system/systemd-udevd.service
- chroot ${LXC_ROOTFS} systemctl set-default multi-user.target
- chroot ${LXC_ROOTFS} ln -s /lib/systemd/system/halt.target /etc/systemd/system/sigpwr.target
+chroot "${LXC_ROOTFS}" /usr/sbin/update-rc.d -f checkroot.sh disable > /dev/null 2>&1
+chroot "${LXC_ROOTFS}" /usr/sbin/update-rc.d -f umountfs disable > /dev/null 2>&1
+chroot "${LXC_ROOTFS}" /usr/sbin/update-rc.d -f hwclock.sh disable > /dev/null 2>&1
+chroot "${LXC_ROOTFS}" /usr/sbin/update-rc.d -f hwclockfirst.sh disable > /dev/null 2>&1
+
+if [ -e "${LXC_ROOTFS}/etc/systemd/system/" ]; then
+ touch "${LXC_ROOTFS}/etc/systemd/system/systemd-setup-dgram-qlen.service"
+ touch "${LXC_ROOTFS}/etc/systemd/system/dev-hugepages.mount"
+ touch "${LXC_ROOTFS}/etc/systemd/system/udev.service"
+ touch "${LXC_ROOTFS}/etc/systemd/system/systemd-udevd.service"
+ chroot "${LXC_ROOTFS}" systemctl set-default multi-user.target
+ chroot "${LXC_ROOTFS}" ln -s /lib/systemd/system/halt.target /etc/systemd/system/sigpwr.target