Hello,
I have two laptops at home and one that I built for my parents that are used in a mixed Mint / Win environment. I have an iomega NAS that I mount various directories using CIFS in fstab. There is a known bug where gnome shuts down the wireless before the CIFS are unmounted, and this causes a lockup that requires holding the power button down for 5 seconds for each restart / shutdown.
I found a script online to find these mounted drives and unmount them. I wrote 2 tiny bash scripts to call this and then shutdown or restart:
sudo /etc/init.d/umountnfs.sh && sudo shutdown -r now
or
sudo /etc/init.d/umountnfs.sh && sudo shutdown -h now
I softlinked these to ./rs and ./sd , I am comfortable with the terminal and running these with alt-F2. I updated sudoers to allow me to execute these with no password.
My wife and parents are not so savvy. My goal is to tie the shutdown or restart buttons in mintMenu to these scripts so everything "just works" for them. The menu editor does not seem to provide access to the more "core" functions in the menu. Any suggestions on how to accomplish this?
Thanks in advance,
wjstarrsiii



