Re: F12 -> F14 (via preupgrade), not so smooth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/17/2010 04:22 PM, stan wrote:
> On Wed, 17 Nov 2010 14:56:04 -0500
> Bill Davidsen <davidsen@xxxxxxx> wrote:
> 
>> stan wrote:
> 
>>> #Fix console loglevel
>>> if [ -n "$LOGLEVEL" ]; then
>>>        /bin/dmesg -n $LOGLEVEL
>>> else
>>>        /bin/dmesg -n 3
>>> fi
>>
>> /bin/dmesg -n ${LOGLEVEL:-3}
>  
> That's slick.  I presume you meant 
> /bin/dmesg -n ${LOGLEVEL:3}
> changing the -3 to a 3?  I didn't look up the documentation, just
> extrapolating.

Nope.  Read the bash man page.  Particularly the section on parameter
substitution....

-- 
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux