Hi,
I have a set of commands that I need to run after my fedora21 desktop
has completed booting. Should I just create a whole sysv init script in
/etc/rc.d/init.d, or is there a more updated way using systemd without
having to create a whole service around it?
The commands I want to run are:
for i in /sys/bus/usb/devices/*/power/autosuspend; do echo 2 > $i; done
I'd like to disable the power management for USB devices, as once the
desktop goes into suspend, the USB keyboard/mouse won't wake it up. The
desktop is also blanked when accessing it through tigervnc.
root doesn't always login, or I would otherwise just put it in the bashrc.
These commands seem to fix it.
Thanks,
Alex
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org