13 lines
108 B
Plaintext
13 lines
108 B
Plaintext
|
#!/bin/bash
|
||
|
#
|
||
|
# Exec /sbin/ip as root via sudo
|
||
|
|
||
|
RETVAL=
|
||
|
CMD=/sbin/ip
|
||
|
|
||
|
sudo $CMD $@
|
||
|
RETVAL=$?
|
||
|
|
||
|
exit $RETVAL
|
||
|
|