/sys mount (for 2.6)

Kir Kolyshkin kir at darnet.ru
Sat Jan 31 13:08:38 UTC 2004


Pete Zaitcev wrote:

>+# Mount /sys for future scripts (such as ctc)
>+if grep -q "Linux version 2.6" /proc/version; then
>  
>
Strictly speaking, you should use fgrep (or 'grep -F') here instead of 
grep, as grep uses regexes, and dot means 'any character'. So 226 will 
match 2.6.





More information about the fedora-devel-list mailing list