diff options
-rw-r--r-- | net/macchanger.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/macchanger.sh b/net/macchanger.sh index d87d96e..5b32b80 100644 --- a/net/macchanger.sh +++ b/net/macchanger.sh @@ -64,7 +64,7 @@ macchanger_pre_start() *) opts="${opts} -m ${mac}";; esac - if [ ! -x /sbin/macchanger ]; then + if [ ! -x /usr/bin/macchanger ]; then eerror "For changing MAC addresses, emerge net-analyzer/macchanger" return 1 fi @@ -72,7 +72,7 @@ macchanger_pre_start() for try in 1 2; do # Sometimes the interface needs to be up [ "${try}" -eq 2 ] && _up - output=$(/sbin/macchanger ${opts} "${IFACE}") + output=$(/usr/bin/macchanger ${opts} "${IFACE}") rc=$? [ "${rc}" -eq 0 ] && break done |