Member Avatar for Johnbonono

I want to make a bash script that will run every time my computer wakes up from sleep. I will be leaving it on and logged in all the time, so a login script would be useless.

Is there a certain file name I can give it or something?

You may want to look into the pm-utils package. Have a look at this for the behavior you are specifically after.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.