> At least you can get the complete kernel line from /proc/cmdline. Strangely, my /proc/cmdline is empty; could I have forgotten some kernel module or option?
> If you like, put something like this into your .bashrc: > > # get boot parameters: > SOFTLEVEL=$( < /proc/cmdline ) > # strip from left all up to and including 'softlevel=': > SOFTLEVEL=${SOFTLEVEL##*softlevel=} > # strip from the right all from the first blank on: > SOFTLEVEL=${SOFTLEVEL%% *} # strip all > > Oh, or forget about all this, as I just see that there is the rc-status -r > command. Yes, that works fine, thank you!! > Wonko Gabriel