only-root
This commit is contained in:
parent
61544efddc
commit
88df71196f
1 changed files with 3 additions and 6 deletions
|
@ -38,13 +38,10 @@ if [ "make" == "$1" ]; then
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
#reset-fstab
|
|
||||||
if [ "${rootsnapshot}" == "y" ]; then
|
|
||||||
cp /etc/fstab.example /etc/fstab
|
|
||||||
fi
|
|
||||||
|
|
||||||
#stable-snapshot-boot
|
#stable-snapshot-boot
|
||||||
if [ -f "/boot/arch-uefi.conf.example" ]; then
|
if [ -f "/boot/arch-uefi.conf.example" ] && [ "${rootsnapshot}" == "y" ]; then
|
||||||
|
#reset-fstab
|
||||||
|
cp /etc/fstab.example /etc/fstab
|
||||||
|
|
||||||
cp "$(echo $(find /boot/ -name "initramfs*.img") | cut -d" " -f2)" /boot/initramfs-linux-stable.img
|
cp "$(echo $(find /boot/ -name "initramfs*.img") | cut -d" " -f2)" /boot/initramfs-linux-stable.img
|
||||||
cp "$(echo $(find /boot/ -name "vmlinuz*") | cut -d" " -f1)" /boot/vmlinuz-stable
|
cp "$(echo $(find /boot/ -name "vmlinuz*") | cut -d" " -f1)" /boot/vmlinuz-stable
|
||||||
|
|
Loading…
Reference in a new issue