diff options
Diffstat (limited to 'ifplugd')
-rwxr-xr-x | ifplugd/net-auto-wired | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ifplugd/net-auto-wired b/ifplugd/net-auto-wired index 12d1201..9af8505 100755 --- a/ifplugd/net-auto-wired +++ b/ifplugd/net-auto-wired @@ -3,6 +3,11 @@ . /etc/rc.conf . /etc/rc.d/functions +if [[ ! -x /usr/sbin/ifplugd ]]; then + echo "Please install 'ifplugd' to use net-auto-wired" + exit 1 +fi + CFG=/etc/ifplugd/ifplugd.conf ACTION=/etc/ifplugd/netcfg.action PIDFILE=/var/run/ifplugd.$WIRED_INTERFACE.pid |