diff --git a/arch-install b/arch-install index e0fffd0..8dee1f9 100755 --- a/arch-install +++ b/arch-install @@ -201,11 +201,11 @@ function usbsecret() { function cron() { echo "cron-job snapshot" mkdir -p ${mountpoint}/var/spool/cron/ - if [ "y" == "${windualboot}" ]; then - echo -n "0 18 * * * /usr/bin/snapshot makeboot ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root - else + #if [ "y" == "${windualboot}" ]; then + # echo -n "0 18 * * * /usr/bin/snapshot makeboot ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root + #else echo -n "0 18 * * * /usr/bin/snapshot make ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root - fi + #fi # custom-mounts for wort in ${mountsnaps} @@ -1160,15 +1160,15 @@ then grubinstall - if [ "y" == "${windualboot}" ]; then - mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img - else + #if [ "y" == "${windualboot}" ]; then + # mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img + #else if [ "${version}" == "libre" ]; then arch-chroot ${mountpoint} mkinitcpio -p linux-libre else arch-chroot ${mountpoint} mkinitcpio -P -c /etc/mkinitcpio.conf fi - fi + #fi echo "" if [ "${boot}" == "grub" ] then @@ -1198,15 +1198,15 @@ elif [ "${Partition}" == "bios" ]; then grubinstall - if [ "y" == "${windualboot}" ]; then - mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img - else + #if [ "y" == "${windualboot}" ]; then + # mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img + #else if [ "${version}" == "libre" ]; then arch-chroot ${mountpoint} mkinitcpio -p linux-libre else arch-chroot ${mountpoint} mkinitcpio -P linux -c /etc/mkinitcpio.conf fi - fi + #fi echo "" arch-chroot ${mountpoint} grub-install --target=i386-pc --recheck ${device} arch-chroot ${mountpoint} grub-mkconfig -o /boot/grub/grub.cfg