Skip to content

Commit aa4465c

Browse files
authored
Update unRAID6-ZFS.plg
Removed warning message from console on boot
1 parent f5d39eb commit aa4465c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

unRAID6-ZFS.plg

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!DOCTYPE PLUGIN [
55
<!ENTITY name "unRAID6-ZFS">
66
<!ENTITY author "Steini1984">
7-
<!ENTITY version "2.1.0">
7+
<!ENTITY version "2.1.1">
88
<!ENTITY repo "https://raw.githubusercontent.com/&author;/unRAID6-ZFS/master">
99
<!ENTITY pluginURL "&repo;/&name;.plg">
1010
<!ENTITY plugin "/boot/config/plugins/&name;">
@@ -21,6 +21,9 @@
2121

2222
<CHANGES>
2323

24+
###2022.04.11
25+
- Removed warning message from console on boot
26+
2427
###2022.01.31
2528
- Added automatic scrub from all ZFS pools after unclean shutdown
2629
- Added option to turn of automatic scrub after unclean shutdown to settings file
@@ -560,7 +563,7 @@ fi
560563
/usr/local/emhttp/plugins/dynamix/scripts/notify -e "unRAID-ZFS" -d "\${message}" \${extra}
561564
EOF
562565
chmod 755 /etc/zfs/zed.d/scrub_finish-notify.sh
563-
echo "zed -d /etc/zfs/zed.d" | at now
566+
echo "zed -d /etc/zfs/zed.d" | at now &gt; /dev/null 2&gt;&amp;1
564567
if [ ! $(pidof emhttpd) ] &amp;&amp; [ -f /boot/config/forcesync ]; then
565568
ZPOOLS="$(zpool list -o name | tail -n +2)"
566569
echo
@@ -569,7 +572,7 @@ EOF
569572
/usr/local/emhttp/plugins/dynamix/scripts/notify -e "unRAID-ZFS" -d "Unclean shutdown detected, started Scrub for Pool(s): ${ZPOOLS//$'\n'/, }!"
570573
while read -r line
571574
do
572-
echo "zpool scrub $line" | at now
575+
echo "zpool scrub $line" | at now &gt; /dev/null 2&gt;&amp;1
573576
done &lt;&lt;&lt; "${ZPOOLS}"
574577
fi
575578
fi
@@ -611,7 +614,7 @@ fi
611614

612615
#Start Plugin Update Helper
613616
if [ -z "$(ps aux | grep -E "inotifywait -q /boot/changes.txt -e move_self,delete_self" | grep -v "grep -E inotifywait" | awk '{print $2}')" ]; then
614-
echo "/usr/bin/plugin_update_helper" | at now
617+
echo "/usr/bin/plugin_update_helper" | at now &gt; /dev/null 2&gt;&amp;1
615618
fi
616619

617620
</INLINE>

0 commit comments

Comments
 (0)