Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: krypstocken on December 25, 2015, 03:52:13 AM
-
Hi
I have a working setup based on Linux Mint 17.3 that starts and launches Attract Mode.
Is there a way to send the shutdown command to Linux with sudo privliges(including password) at the time I exit Attract Mode?
Regards Kristoffer
-
SOLVED
Change the permissions of the shutdown command:
sudo chmod u+s /sbin/shutdown
Creat a script that runs at boot:
with the following rows:
attract # to start attract mode
shutdown -P now # to shutdown
-
How can I do this on Windows?
Thanks :)
-
Try setting AM exit command to:
shutdown -s -t 00
I'm using it on my bartop XP machine along with instant sheller from gameex (http://www.gameex.com/instant-sheller-and-shelling-guide/). Works great :)
-
hi, how exactly i can set up to shutdown windows when i quit AM?
thanks in advance. :)
-
As stated above type
shutdown -s -t 00
in AM settings exit command.