Skip to content

Commit

Permalink
Merge pull request #25 from 007revad/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
007revad authored Jan 6, 2024
2 parents 0723a40 + 32db60c commit cd94df4
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 146 deletions.
13 changes: 13 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
v3.0.9
- Added --model=CARD option to automatically enable specified card model.
- Required if you want to schedule the script.
- CARD can be E10M20-T1, M2D20, M2D18 or M2D17.
- Added --autoupdate=AGE to auto update script (useful when script is scheduled).
- Added -e, --email option to disable colored text in output scheduler emails.
- Now adds entry to DSM system log if auto update succeeds or fails.
- Now shows Storage Manager package version.
- Now checks if the Synology has a PCIe x8 slot.
- 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.
- Bug fix for detecting if script is located on M.2 drive.

v2.0.8
- Updated to work with DSM 7.2 Update 2 and later.
- Now edits model.dtb instead of downloading a pre-edited version.
Expand Down
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,17 @@ sudo -i /volume1/scripts/syno_enable_m2_card.sh

**Options:**
```YAML
-c, --check Check M.2 card status
-r, --restore Restore backup to undo changes
-h, --help Show this help message
-v, --version Show the script version
-c, --check Check M.2 card status
-r, --restore Restore from backups to undo changes
-e, --email Disable colored text in output scheduler emails.
--autoupdate=AGE Auto update script (useful when script is scheduled)
AGE is how many days old a release must be before
auto-updating. AGE must be a number: 0 or greater
--model=CARD Automatically enable specified card model
Required if you want to schedule the script
CARD can be E10M20-T1, M2D20, M2D18 or M2D17
-h, --help Show this help message
-v, --version Show the script version
```

### What about DSM updates?
Expand Down
Loading

0 comments on commit cd94df4

Please sign in to comment.