How to make it run at boot? LM Mate 19

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
OutOfMemory

How to make it run at boot? LM Mate 19

Post by OutOfMemory »

Hi ,

I would like to add following script to run at boot (as root).
How to do it ?

============================
#!/bin/bash

echo GLAN > /proc/acpi/wakeup
echo EHC2 > /proc/acpi/wakeup
echo EHCI > /proc/acpi/wakeup
echo PBTN > /proc/acpi/wakeup

exit 0
===========================

Thank you
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How to make it run at boot? LM Mate 19

Post by catweazel »

OutOfMemory wrote: Sat Sep 22, 2018 10:01 am I would like to add following script to run at boot (as root).
How to do it ?
viewtopic.php?f=42&t=275464
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
OutOfMemory

Re: How to make it run at boot? LM Mate 19

Post by OutOfMemory »

Thank you!
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How to make it run at boot? LM Mate 19

Post by catweazel »

OutOfMemory wrote: Sun Sep 23, 2018 6:10 am Thank you!
My pleasure.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Locked

Return to “Installation & Boot”