how to shutdown hda after its unplugged ?

bilgedonmez
Posts: 2
Joined: Sat Feb 14, 2015 8:54 am

how to shutdown hda after its unplugged ?

Postby bilgedonmez » Sat Feb 14, 2015 3:10 pm

hello, this is my first post around here.
first of all, Amahi is a superb product and i'd like to utilize it as much as possible.
As usual, there is a question...
My 10 year old notebook is my new media server, thanks to amahi.
my home network has a modem, a tv and the notebook aka hda.
i want my hda to shutdown after its unplugged, maybe 5 minutes later.

i did some search and installed acpid but could not use it...

so, any advice ?
have a nice day.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: how to shutdown hda after its unplugged ?

Postby bigfoot65 » Sat Feb 14, 2015 3:25 pm

You can try the script in this article.
http://askubuntu.com/questions/135207/h ... ly-charged

I doubt you will find anything that can sense the laptop being unplugged. Would make more sense to check the battery level and when it reaches a certain level, shut down the OS.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 9 guests