setup-nasbeery aktualisiert
This commit is contained in:
+3
-3
@@ -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$//')
|
||||||
|
|||||||
Reference in New Issue
Block a user