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

Re: dmesg command



Thomas Schwinge, le Mon 31 Oct 2011 10:20:39 +0100, a écrit :
>             # Save kernel messages in /var/log/dmesg
>             if which dmesg >/dev/null 2>&1
>             then
>                     [ -f /var/log/dmesg ] && savelog -q -p -c 5 /var/log/dmesg
>                     dmesg -s 524288 > /var/log/dmesg
>                     chgrp adm /var/log/dmesg || :

d'oh.

apt will have to find another way than dmesg, then.

Samuel


Reply to: