Ive followed a few guides creating scripts, testing them, and copying them to /etc but for some reason when I run them through the GUI nothing happens.
I have 3 working scripts from this thread: upsstat.sh zpstat.sh and esmart.sh
All 3 work perfect from the command line if im in the /etc directory (just running a sh upsstat.sh), but none work if im in the / directory. Even doing a /etc/sh scriptname.sh
All have had a chmod +x run for execute permissions.
When I set them up in the freenas box through tasks, none of them will run. (as root)
Can someone assist?
Also, I was following the the how to with setting up SMART reporting VIA email, just for the instructions to copy everything to /etc so it persists through reboots. I can run a 'mount -wu /' fine but when im done and I want to set it back to read only I cant. I run a 'mount -r /' and I get a
[root@HomeNAS] /etc# mount -r /
mount: /: unknown special file or file system
Thoughts?
I have 3 working scripts from this thread: upsstat.sh zpstat.sh and esmart.sh
All 3 work perfect from the command line if im in the /etc directory (just running a sh upsstat.sh), but none work if im in the / directory. Even doing a /etc/sh scriptname.sh
All have had a chmod +x run for execute permissions.
When I set them up in the freenas box through tasks, none of them will run. (as root)
Can someone assist?
Also, I was following the the how to with setting up SMART reporting VIA email, just for the instructions to copy everything to /etc so it persists through reboots. I can run a 'mount -wu /' fine but when im done and I want to set it back to read only I cant. I run a 'mount -r /' and I get a
[root@HomeNAS] /etc# mount -r /
mount: /: unknown special file or file system
Thoughts?