Correct location of remove-root-pw.sh

This commit is contained in:
Joshua Boniface 2021-12-12 18:36:10 -05:00
parent 0741e5ea6b
commit 337fe22b29
1 changed files with 3 additions and 2 deletions

View File

@ -84,10 +84,11 @@ echo "done."
# Add root password hook # Add root password hook
echo -n "Copying live-boot templates... " echo -n "Copying live-boot templates... "
mkdir -p config/includes.chroot/lib/live/boot/ mkdir -p config/includes.chroot/lib/live/boot/
cp ../../templates/2000-remove-root-pw.sh config/includes.chroot/lib/live/boot/2000-remove-root-pw.sh || fail "Failed to copy critical template file"
chmod +x config/includes.chroot/lib/live/boot/2000-remove-root-pw.sh || fail "Failed to copy critical template file"
cp ../../templates/9990-initramfs-tools.sh config/includes.chroot/lib/live/boot/9990-initramfs-tools.sh || fail "Failed to copy critical template file" cp ../../templates/9990-initramfs-tools.sh config/includes.chroot/lib/live/boot/9990-initramfs-tools.sh || fail "Failed to copy critical template file"
chmod +x config/includes.chroot/lib/live/boot/9990-initramfs-tools.sh || fail "Failed to copy critical template file" chmod +x config/includes.chroot/lib/live/boot/9990-initramfs-tools.sh || fail "Failed to copy critical template file"
mkdir -p config/includes.chroot/lib/live/config/
cp ../../templates/2000-remove-root-pw.sh config/includes.chroot/lib/live/config/2000-remove-root-pw.sh || fail "Failed to copy critical template file"
chmod +x config/includes.chroot/lib/live/config/2000-remove-root-pw.sh || fail "Failed to copy critical template file"
echo "done." echo "done."
# Set root bashrc # Set root bashrc