Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 847622 Details for
Bug 889922
net-misc/netifrc: adapt macchanger.sh to look in /usr/bin (was: net-analyzer/macchanger-1.7.0_p5_p4 -> p5_p4-r1 moves /sbin/macchanger and/or link needed for netifrc script)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
possible patch
file_889922.txt (text/plain), 780 bytes, created by
7e3
on 2023-01-06 07:41:22 UTC
(
hide
)
Description:
possible patch
Filename:
MIME Type:
Creator:
7e3
Created:
2023-01-06 07:41:22 UTC
Size:
780 bytes
patch
obsolete
>--- /lib/netifrc/net/macchanger.sh 2023-01-06 14:08:16.677399795 +0800 >+++ - 2023-01-06 15:29:27.244168479 +0800 >@@ -64,7 +64,7 @@ > *) 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 @@ > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 889922
: 847622