Ubuntu shutdown hook?

Posted by ??? on Super User See other posts from Super User or by ???
Published on 2011-01-09T17:29:25Z Indexed on 2011/01/09 17:55 UTC
Read the original article Hit count: 306

Filed under:
|
|

I want to check 10+ local Git repositories if they have any unpushed commit, before shutdown.

(I always forgot to push them, so later, the next morning I came office and back home again)

I think maybe the shutdown process can check some conditions to meet, if any condition is not met, then give the user the choice to continue to shutdown or just cancel.

Then, I can write something to hook the shutdown to check my Git repository to push.

© Super User or respective owner

Related posts about ubuntu

Related posts about shutdown