Hi all, new Proxmox user here.
I've tentatively installed PVE on a 2011 Macbook Pro (dedicated graphics card is dead, so perfect cheap server).
I've modified logind.conf to ignore the lidswitch when I close the lid, but the display remains on (I can see the backlight).
I'd like to have this time out ie turn off after some minutes of disuse.
I get the desired outcome if I login and run
However this doesn't persist past a reboot. Referencing this post, I thought I'd use
This doesn't seem to work either. Yes I made the script executable, and confirmed it worked at the terminal.
Does anyone have any ideas for either a better way to do this or what I'm doing wrong?
Thanks
I've tentatively installed PVE on a 2011 Macbook Pro (dedicated graphics card is dead, so perfect cheap server).
I've modified logind.conf to ignore the lidswitch when I close the lid, but the display remains on (I can see the backlight).
I'd like to have this time out ie turn off after some minutes of disuse.
I get the desired outcome if I login and run
setterm -blank 1
.However this doesn't persist past a reboot. Referencing this post, I thought I'd use
[USER=28815]@reboot[/USER] /path/to/script.sh
in crontab.This doesn't seem to work either. Yes I made the script executable, and confirmed it worked at the terminal.
Does anyone have any ideas for either a better way to do this or what I'm doing wrong?
Thanks