Tiny Core Base > CorePlus
⚡➔❌ Press Power Button to Shutdown
Juanito:
Is powerbtn.sh set as executable?
--- Code: ---$ sudo chmod +x /usr/local/etc/acpi/actions/powerbtn.sh
--- End code ---
evertvaningen:
--- Quote from: Juanito on June 15, 2017, 02:19:43 PM ---Is powerbtn.sh set as executable?
--- Code: ---$ sudo chmod +x /usr/local/etc/acpi/actions/powerbtn.sh
--- End code ---
--- End quote ---
It is now, it works thanks to you :D
evertvaningen:
So it worked but it shut down without making a backup so I needed to do it again. No problem but when I make the directories and the files and reboot with backup... the directories are gone again.
Lets try again then.
Even with $sudo backup it still puts everything back.
To test:
cd /usr/local/etc/acpi/
ls
(events/)
mkdir actions
sudo backup
sudo reboot
... actions directory is gone.
Juanito?
gerald_clark:
You need to add usr/local/etc/acpi to /opt/.filetool.lst before you do the backup.
evertvaningen:
--- Quote from: gerald_clark on June 15, 2017, 03:51:12 PM ---You need to add usr/local/etc/acpi to /opt/.filetool.lst before you do the backup.
--- End quote ---
Omg... I thought of that but wasn't sure if that was the right thing to do.
I'm one step closer understanding Tiny Core Linux.
Why do I need to run $sudo acpid -dfl every time?
Without that command the "Press Power Button to Shutdown" won't work.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version