Now I get an error when running the script. I think something is going wrong when copying the script from the forum.
- Code: Select all
root@NAS:/ # /usr/sbin/restore_adminpassword
Parse error: syntax error, unexpected '[' in /usr/sbin/restore_adminpassword on line 26
root@NAS:/ #
And line 26 is where the cursor is located.
[ img ]
Thanks again!