December 3, 200718 yr It would be nice to add a script of additional commands to the "stop array" button in the control panel. For example, if you have created a swap file, or have some other utility like Apache running on unRAID, the array will not shut down until you stop Apache and swapoff the swap file. That means I have to log into unRAID with telnet to do it rather than just use the button on the control panel.
February 22, 200818 yr I have a mechanism to allow a custom locall (on boot flash) shutdown script. It appends a line to /etc/rc.d/rc.local_shutdown upon start up /boot/config/rc.local/rc.local_shutdown contains your local shutdown commands. See thread for more details. http://lime-technology.com/forum/index.php?topic=1511.0 Add this to go or yoru other start up hooks. # Setup shutdown script RCFILE=rc.local_shutdown if ! grep /boot/config/rc.local/$RCFILE /etc/rc.d/$RCFILE > /dev/null 2>&1 then echo /boot/config/rc.local/$RCFILE >> /etc/rc.d/$RCFILE fi if [ ! -x /etc/rc.d/$RCFILE ] then chmod u+x /etc/rc.d/$RCFILE fi
Archived
This topic is now archived and is closed to further replies.