1 --- a/src/lxc/tools/lxc-checkconfig.in
2 +++ b/src/lxc/tools/lxc-checkconfig.in
4 # Allow environment variables to override config
5 : ${CONFIG:=/proc/config.gz}
10 +if [ -z $(which $ZGREP) ] && ! [ -z $(which $GUNZIP) ] && [ -x $(which $GUNZIP) ] && [ -f $CONFIG ] && [ "$CONFIG" == "/proc/config.gz" ] ; then
12 + CONFIG_NEW="/tmp/config-$(uname -r)"
13 + $GUNZIP -c $CONFIG > $CONFIG_NEW