 -    $SETCOLOR_SUCCESS && echo -e "enabled" && $SETCOLOR_NORMAL
 +    SETCOLOR_SUCCESS && echo "enabled" && SETCOLOR_NORMAL
  else
--    echo -n "Cgroup namespace: " && is_enabled CONFIG_CGROUP_NS yes
-+    is_enabled "Cgroup namespace: " CONFIG_CGROUP_NS yes
+     echo -n "Cgroup namespace: " && is_enabled CONFIG_CGROUP_NS yes
  fi
 -echo -n "Cgroup device: " && is_enabled CONFIG_CGROUP_DEVICE
 -echo -n "Cgroup sched: " && is_enabled CONFIG_CGROUP_SCHED

     fi
 
diff -Naurp lxc.orig/src/lxc/lxc-setcap.in lxc/src/lxc/lxc-setcap.in
--- lxc.orig/src/lxc/lxc-setcap.in	2012-01-10 14:10:12.548528394 +0100
+++ lxc/src/lxc/lxc-setcap.in	2012-01-20 23:53:18.977342737 +0100
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh

-echo -n "Veth pair device: " && is_enabled CONFIG_VETH
-echo -n "Macvlan: " && is_enabled CONFIG_MACVLAN
-echo -n "Vlan: " && is_enabled CONFIG_VLAN_8021Q
-KVER_MAJOR=$($GREP '^# Linux' $CONFIG | \
-    sed -r 's/.* ([0-9])\.[0-9]{1,2}\.[0-9]{1,3}.*/\1/')
-if [[ $KVER_MAJOR == 2 ]]; then
-KVER_MINOR=$($GREP '^# Linux' $CONFIG | \
-    sed -r 's/.* 2.6.([0-9]{2}).*/\1/')
+is_enabled "Veth pair device: " CONFIG_VETH
+is_enabled "Macvlan: " CONFIG_MACVLAN
+is_enabled "Vlan: " CONFIG_VLAN_8021Q
