Make lxc-checkconfig work with kernel versions > 3
Make lxc-checkconfig work with kernel versions > 3

(1) Add test for kernel version greater 3.
(2) Use && and || instead of -a and -o as suggested in
    http://www.unix.com/man-page/posix/1p/test/.

lxc-checkconfig will currently report "missing" on "Cgroup memory controller"
for kernel versions greater 3. This happens because the script, before checking
for the corresponding memory variable in the kernel config, currently will test
whether we have a major kernel version greater- or equal to 3 and a minor kernel
version greater- or equal to 6. This adds an additional test whether we have a
major kernel version greater than 3.

Signed-off-by: Christian Brauner <94aca18939fc64aa4df96ea8cb026da8a2e1541a@gmail.com>

ecarrara/lxc,ss1h2a3tw/lxc,QingweiPeterLan/cs188-lxc,cjwatson/lxc,szaszg/lxc,codebauss/lxc,Ponce/lxc,fwilson42/lxc,Pelagicore/lxc,efiop/lxc,akshaykarle/lxc,LynxChaus/lxc,Ponce/lxc,terceiro/lxc,federicobriata/lxc,virajs/lxc,codebauss/lxc,terceiro/lxc,hallyn/lxc,jirislaby/lxc,DarknessBeforeDawn/lxc,thmo/lxc,lazy404/lxc,JohnPeacockMessageSystems/lxc,szaszg/lxc,aeris/lxc,efiop/lxc,GreatFruitOmsk/lxc,QingweiPeterLan/cs188-lxc,ksperis/lxc,hfuCN/lxc,bmoar/lxc,ysbnim/lxc,caglar10ur/lxc,hallyn/lxc,akshaykarle/lxc,lazy404/lxc,major/lxc,bostjan/lxc,rldleblanc/lxc,thmo/lxc,bostjan/lxc,ioops/lxc,ksperis/lxc,sapun/lxc,yubo/lxc,GreatFruitOmsk/lxc,sapun/lxc,ss1h2a3tw/lxc,codebauss/lxc,hfuCN/lxc,major/lxc,LynxChaus/lxc,aeris/lxc,armcc/lxc,bostjan/lxc,efiop/lxc,armcc/lxc,federicobriata/lxc,caglar10ur/lxc,cjwatson/lxc,Distrotech/lxc,szaszg/lxc,christiaan/lxc,Distrotech/lxc,tych0/lxc,armcc/lxc,caglar10ur/lxc,DarknessBeforeDawn/lxc,akshaykarle/lxc,JohnPeacockMessageSystems/lxc,Pelagicore/lxc,christiaan/lxc,aeris/lxc,GreatFruitOmsk/lxc,yubo/lxc,tych0/lxc,DarknessBeforeDawn/lxc,yubo/lxc,rowhit/lxc,rowhit/lxc,Distrotech/lxc,bmoar/lxc,lisongmin/lxc,christiaan/lxc,hfuCN/lxc,ioops/lxc,major/lxc,QingweiPeterLan/cs188-lxc,lisongmin/lxc,JohnPeacockMessageSystems/lxc,lisongmin/lxc,rldleblanc/lxc,raspberrypython/lxc,rldleblanc/lxc,bmoar/lxc,terceiro/lxc,virajs/lxc,ioops/lxc,rowhit/lxc,lazy404/lxc,ksperis/lxc,ysbnim/lxc,ecarrara/lxc,federicobriata/lxc,cjwatson/lxc,LynxChaus/lxc,raspberrypython/lxc,fwilson42/lxc,sapun/lxc,thmo/lxc,raspberrypython/lxc,ecarrara/lxc,tych0/lxc,virajs/lxc,ss1h2a3tw/lxc,ysbnim/lxc,jirislaby/lxc,jirislaby/lxc,hallyn/lxc,fwilson42/lxc,Ponce/lxc,Pelagicore/lxc