On Thu, 8 Dec 2011 22:52:15 +0100, MF (M.) wrote:

> On Thu, Dec 08, 2011 22:40:11 PM +0100, Marco Fioretti wrote:
> 
> > #####################################################
> > #! /bin/bash
> > 
> > modprobe radeon
> > echo IGD > /sys/kernel/debug/vgaswitcheroo/switch
> > echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
> > #####################################################
> > 
> > and then add to /etc/rc/rc.local
                         ^^
A typo?

> > Is this 
> 
> sorry, I hit the button too early. I meant: is it OK? Is it all I
> should do? It turns out it isn't. The script isn't executed at boot.

/etc/rc.d/rc.local is supposed to be executable and exit with return code 0.

systemd will execute it via its /lib/systemd/system/rc-local.service
compatibility service.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to