My first post on these forums so I'd like to say hello all.
Im fairly new to linux, have learnt to do a lot in it but still need to learn some basic things I haven't done before.
Yes, I've tried searching it, have attempted making it work and am getting nowhere..
Here goes,
I'm trying to create a startup script to run "echo low > /sys/class/drm/card0/device/power_profile" (sets the graphics card to a low power mode).
As I understand I should create a file in init.d, chmod +x to make it executable... and it's not working.
Please note this is the only line I entered in the script, am I missing something? Or my other guess is that it is not working because it needs to be run after log in?
Thanks for bearing with me
Also a question, why is there generally a "#! /bin/sh" as the first line in a script, as I understand the # makes it so the line isn't read?