-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
CHANGES.txt
79 lines (62 loc) · 3 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
v1.1.22
- Bug fix for false "Failed to delete tmp files" log entries when script updates itself.
- Bug first appeared in v1.0.9
v1.1.21
- Hard coded /usr/syno/bin/ for Synology commands (to prevent PATH issues).
v1.1.19
- Bug fix when script updates itself and user ran the script from ./scriptname.sh
v1.1.18
- Bug fix for false "This script is NOT running on a Synology NAS!" if uname is installed from Entware.
v1.1.17
- Improved script updating itself.
- Now checks script is running on a Synology NAS.
v1.1.15
- Now warns if script is located on an NVMe drive.
- Now saves changes.txt as <script-filename>_changes.txt when updating the script.
- To not overwrite changes.txt if my other scripts are in the same folder.
- Minor bug fix.
V1.1.14
- Removed the need for bc by using xargs instead.
v1.1.13
- Changed to avoid downloading malicious file if GitHub account is hacked:
- Now only downloads bc if bc is not found in PATH or in script location.
- Now asks to download bc if --autoupdate option not used.
- Now checks md5 hash of downloaded bc file.
v1.1.12-RC
- Bug fix for getting bc location.
v1.1.11-RC
- Now only downloads bc if bc is not found in PATH or in script location.
- Now asks to download bc if --autoupdate option not used.
v1.0.10
- Added -n, --noreboot option to never reboot after script has run.
- Changed to only ask to reboot if script patched file and -n, --noreboot option not used.
- Changed to automatically download and install bc, if needed.
- Bug fix added --email and --autoupdate to --help
v1.0.9
- Added --autoupdate=[age] option to auto update syno_enable_m2_volume x days after new version released.
- Autoupdate logs update success or errors to DSM system log.
- Added -e --email option to disable coloured output to make task scheduler emails easier to read.
- Bug fix for script not updating itself if .sh file had been renamed.
- Bug fix for missing executable permissions if .sh file had been renamed.
- Bug fix to prevent update loop if script's .tar.gz file already exists in /tmp.
- Bug fix to prevent update failing if script's temp folder already exists in /tmp.
- Now only copies CHANGES.txt to script location if script is located on a volume, to prevent putting CHANGES.txt on system partition (/usr/bin, /usr/sbin, /root etc.)
v1.0.8
- Now script automatically reloads itself after updating.
- Bug fix to prevent error if NVMe drive not found in /run/synostorage/disks/
v1.0.7
- Changed to enable m2_pool_support in synostorage.
v1.0.6
- Changed so you don't also need to run Synology_HDD_db as well.
- Now adds support_m2_pool="yes" if missing in synoinfo.conf (for DSM 7.1.1)
- Now checks support_m2_pool is set to yes.
- Prevent running with "sh scriptname.sh".
- Added timeout to "reboot now" question so script can be scheduled to run at shut-down.
- Added ding sound when script exists due to an error.
v1.0.5
- Changed to show usage if invalid long option used instead of continuing.
- Show the options used.
v1.0.4
- Changed reboot message
v1.0.3
- First release