--- trunk/qemu-networking/qemu-networking.in 2013/10/14 09:07:00 2201 +++ trunk/qemu-networking/qemu-networking.in 2013/10/14 09:09:00 2202 @@ -14,21 +14,21 @@ return 1 fi - if [ ! -x $(which iptables 2>/dev/null) ] + if [ ! -x $(type -P iptables) ] then logger -s -p daemon.err -t qemu-networking.service \ "No 'iptables' executable found, please install 'net-misc/iptables'" return 1 fi - if [ ! -x $(which vde_switch 2>/dev/null) ] + if [ ! -x $(type -P vde_switch) ] then logger -s -p daemon.err -t qemu-networking.service \ "No 'vde_switch' executable found, please install 'net-misc/vde2'" return 1 fi - if [ ! -x $(which sysctl 2>/dev/null) ] + if [ ! -x $(type -P sysctl) ] then logger -s -p daemon.err -t qemu-networking.service \ "No 'sysctl' executable found, please install 'sys-apps/procps'"