|
4 | 4 | <!DOCTYPE PLUGIN [
|
5 | 5 | <!ENTITY name "unRAID6-ZFS">
|
6 | 6 | <!ENTITY author "Steini1984">
|
7 |
| - <!ENTITY version "2.1.0"> |
| 7 | + <!ENTITY version "2.1.1"> |
8 | 8 | <!ENTITY repo "https://raw.githubusercontent.com/&author;/unRAID6-ZFS/master">
|
9 | 9 | <!ENTITY pluginURL "&repo;/&name;.plg">
|
10 | 10 | <!ENTITY plugin "/boot/config/plugins/&name;">
|
|
21 | 21 |
|
22 | 22 | <CHANGES>
|
23 | 23 |
|
| 24 | +###2022.04.11 |
| 25 | +- Removed warning message from console on boot |
| 26 | + |
24 | 27 | ###2022.01.31
|
25 | 28 | - Added automatic scrub from all ZFS pools after unclean shutdown
|
26 | 29 | - Added option to turn of automatic scrub after unclean shutdown to settings file
|
|
560 | 563 | /usr/local/emhttp/plugins/dynamix/scripts/notify -e "unRAID-ZFS" -d "\${message}" \${extra}
|
561 | 564 | EOF
|
562 | 565 | 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 > /dev/null 2>&1 |
564 | 567 | if [ ! $(pidof emhttpd) ] && [ -f /boot/config/forcesync ]; then
|
565 | 568 | ZPOOLS="$(zpool list -o name | tail -n +2)"
|
566 | 569 | echo
|
|
569 | 572 | /usr/local/emhttp/plugins/dynamix/scripts/notify -e "unRAID-ZFS" -d "Unclean shutdown detected, started Scrub for Pool(s): ${ZPOOLS//$'\n'/, }!"
|
570 | 573 | while read -r line
|
571 | 574 | do
|
572 |
| - echo "zpool scrub $line" | at now |
| 575 | + echo "zpool scrub $line" | at now > /dev/null 2>&1 |
573 | 576 | done <<< "${ZPOOLS}"
|
574 | 577 | fi
|
575 | 578 | fi
|
|
611 | 614 |
|
612 | 615 | #Start Plugin Update Helper
|
613 | 616 | 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 > /dev/null 2>&1 |
615 | 618 | fi
|
616 | 619 |
|
617 | 620 | </INLINE>
|
|
0 commit comments