setup-nasbeery aktualisiert

This commit is contained in:
2026-01-01 20:08:52 +01:00
parent 979e842ce6
commit a6d5b46fef
+3 -3
View File
@@ -76,8 +76,8 @@ FORMAT=$?
#Pin-Priority: 900 #Pin-Priority: 900
#EOF #EOF
echo "=== Enable time sync ==="
timedatectl set-ntp true timedatectl set-ntp true
systemctl restart systemd-timesyncd
echo "Ensure contrib repo is enabled (required for ZFS)" echo "Ensure contrib repo is enabled (required for ZFS)"
@@ -149,8 +149,8 @@ apt install -y zfs-dkms zfsutils-linux zfs-auto-snapshot
echo "Activate zfs module" echo "Activate zfs module"
/sbin/modprobe zfs /sbin/modprobe zfs
echo "Update time via ntp" #echo "Update time via ntp"
ntpdate-debian -b > /dev/null #ntpdate-debian -b > /dev/null
echo "Detecting root disk (SAFETY CHECK)" echo "Detecting root disk (SAFETY CHECK)"
rootdisk=$(findmnt -n -o SOURCE / | sed 's/[0-9]*$//;s/p$//') rootdisk=$(findmnt -n -o SOURCE / | sed 's/[0-9]*$//;s/p$//')