Magellan Linux

Diff of /trunk/qemu-networking/qemu-networking.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2201 by niro, Mon Oct 14 09:07:00 2013 UTC revision 2202 by niro, Mon Oct 14 09:09:00 2013 UTC
# Line 14  checkconfig() Line 14  checkconfig()
14   return 1   return 1
15   fi   fi
16    
17   if [ ! -x $(which iptables 2>/dev/null) ]   if [ ! -x $(type -P iptables) ]
18   then   then
19   logger -s -p daemon.err -t qemu-networking.service \   logger -s -p daemon.err -t qemu-networking.service \
20   "No 'iptables' executable found, please install 'net-misc/iptables'"   "No 'iptables' executable found, please install 'net-misc/iptables'"
21   return 1   return 1
22   fi   fi
23    
24   if [ ! -x $(which vde_switch 2>/dev/null) ]   if [ ! -x $(type -P vde_switch) ]
25   then   then
26   logger -s -p daemon.err -t qemu-networking.service \   logger -s -p daemon.err -t qemu-networking.service \
27   "No 'vde_switch' executable found, please install 'net-misc/vde2'"   "No 'vde_switch' executable found, please install 'net-misc/vde2'"
28   return 1   return 1
29   fi   fi
30    
31   if [ ! -x $(which sysctl 2>/dev/null) ]   if [ ! -x $(type -P sysctl) ]
32   then   then
33   logger -s -p daemon.err -t qemu-networking.service \   logger -s -p daemon.err -t qemu-networking.service \
34   "No 'sysctl' executable found, please install 'sys-apps/procps'"   "No 'sysctl' executable found, please install 'sys-apps/procps'"

Legend:
Removed from v.2201  
changed lines
  Added in v.2202