[Durham] Bash Scripting

Andrew Glass andrewglass3 at gmail.com
Sun Dec 16 21:45:12 UTC 2012


Can you help me please?

Ive never done bash scripting before however id like to write a simple script that would check for active afp users/smb users and if its idle for the machine to sleep - if there are active users it does nothing.  Id also like this machine to wake from lan.  Im using an intel pro 1000 gigabit eth card.

Any advice would be most gratefully welcomed :)


Cheers

Andy





More information about the Durham mailing list