Ubuntu Forums Archive Viewer

An idea of feature to Lucid Lynx

Archived thread 1307903 from Lucid Lynx Testing and Discussion (CLOSED). Markdown source: Lucid_Lynx_Testing_and_Discussion_(CLOSED)/thread_1307903_An_idea_of_feature_to_Lucid_Lynx.md

Original URL About this archive
#1

Hello, everyone.

I believe a nice feature to have on Lucid Lynx is something like "Commands to be Executed on Restart/Shut Down".

For example, that would be useful if you have a software that, for some reason, won't let you change the folder it works on. So, say it will always save in a subfolder of your home directory, but you have a different partition to keep your stuff. So, would be very useful to be able to run some "rsync" command everytime the computer restarts/shuts down... That's because sometimes you just forget you have that stuff on a folder different from the default.

Me, for example, I lost some files because they were in such situation, and I fresh installed Karmic Koala and forgot to copy them to the partition. Lucky me, that were not that important to cause any bigger damage.

I apologize if that feature is already implemented, but I couldn't find it. In such case, could you tell me where it is?

Thank you very much! João Paulo

#2

I'm not sure but you might be able to add something to /etc/init.d/halt and /etc/init.d/reboot to get it to do what you want .

#3

Please post preliminary feature ideas for brainstorming to Ubuntu Brainstorm, so that they can be aggregated and discussed in one place. Let's keep this forum to testing assistance, troubleshooting and general discussion regarding Lucid.