Re: Possible to get a variable from Grub2?
Originally Posted by
sisco311
<snip>
Code:
...
for ARG in $(cat /proc/cmdline)
do
case "${ARG}" in
text|-s|s|S|single)
plymouth quit || : # We have the ball here
exit 0
;;
esac
done
...
<snip>
Voilà, integrated in my /etc/init.d/slim, and assuming it's SLiM that isn't working properly, your little piece of code allows me to do some testing with it.
Thank you for that.
I'll post my problem in a new thread in a moment...
EDIT: The problem
Last edited by El_Belgicano; April 12th, 2011 at 12:13 AM.
El Belgicano
-----------------
Laptop: 5 years old Asus M6N (ATI9600/9700 graphics, 512Mb RAM, Intel Mobile 1.66GHz, 60Gb HDD) running 10.04-Lucid Lynx pretty nicely.
Bookmarks