Arghya,
> i can get into root terminal through elementary OS recovery mode but i cant
> remove the entry from system startup.
If update.rc does not work for you (for whatever reasons) just delete the
script in init.d - that alone should suffice to give you a normal boot again,
and you can clean
Arghya,
You don't need any sudo when the script is run by init, because it will be
executed with system (root) authority.
Just make it one line
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
and it should work.
That is, if "OFF" is correct here, and "vgaswitcheroo" really sounds a little
On 18 May 2015 at 11:49, Arghya Das wrote:
> the script worked fine but when i tried to run in on boot by adding it in
> update-rc.d file
>
When you say your script "worked fine", what definition of fine did you use?
I think that you should speak to whoever *wrote *that *script*.
The third lin
i tried to turn off my discrete graphics by writing a script :
sudo chown username /sys/kernel/debug/vgaswitcheroo/switch
sudo chown username /sys/kernel/debug/
echo OFF > sudo chown username /sys/kernel/debug/vgaswitcheroo/switch
the script worked fine but when i tried to run in on boot by addin
i tried to turn off my discrete graphics by writing a script :
sudo chown username /sys/kernel/debug/vgaswitcheroo/switch
sudo chown username /sys/kernel/debug/
echo OFF > sudo chown username /sys/kernel/debug/vgaswitcheroo/switch
the script worked fine but when i tried to run in on boot by addin
5 matches
Mail list logo