If you running KDE you can place a shutdown script is '~./kde/shutdown' or system wide by adding the directory '/usr/shutdown' then placing the script there. I've attached a copy of the shutdown script. Hope this helps.
If you running KDE you can place a shutdown script is '~./kde/shutdown' or system wide by adding the directory '/usr/shutdown' then placing the script there. I've attached a copy of the shutdown script. Hope this helps.