script for samba to run to shutdown server?
Posted: Sat Oct 06, 2012 5:38 pm
I have a samba share called "shutdown". I want to write a script that is run when that share is logged into that will shutdown my server. I regularly view movies using my xbox and don't want to have to walk into my living room to shutdown my server. (RPC stuff from client is not an option)
sys specs:
Debian Squeeze
samba 3.5.6
No matter what bash script I write, I can't get it done. Can someone help me?
__________________
"I don't care how meaty he is, I'm NOT getting my weather from a urologist!"
You can't change the past or avoid the future,
but you can change the future and avoid the past!
sys specs:
Debian Squeeze
samba 3.5.6
No matter what bash script I write, I can't get it done. Can someone help me?
__________________
"I don't care how meaty he is, I'm NOT getting my weather from a urologist!"
You can't change the past or avoid the future,
but you can change the future and avoid the past!