From ebd5cb89320616944a8d48076642b91d3dd8b56a Mon Sep 17 00:00:00 2001 From: cpzengel Date: Tue, 1 Feb 2022 16:22:38 +0100 Subject: [PATCH] Update installdebian.sh --- installdebian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installdebian.sh b/installdebian.sh index 58cfb2e..7e8468e 100644 --- a/installdebian.sh +++ b/installdebian.sh @@ -40,7 +40,7 @@ esac # create Share with Compression, Samba share has to be in smb.conf to work with Snapshots later zfs create -o compression=lz4 tank/share chmod -R 770 /tank - chown -R ubuntu:root /tank + chown -R root:root /tank # check Mirror to be online, otherwise Power Indicator like LED or Buzzer echo -e "PATH="/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"\n*/1 * * * * root echo 14 > /sys/class/gpio/export 2> /dev/null;echo out > /sys/class/gpio/gpio14/direction ; zpool import -fa -d /dev/ > /dev/null; zpool list| grep -q ONLINE; echo \$? > /sys/class/gpio/gpio14/value" | tee "/etc/cron.d/raidled"