mirror of
git://git.yoctoproject.org/poky
synced 2026-08-23 05:36:16 +00:00
* Try harder to find ifconfig * Error out if the environment isn't correct * Tell the user we're running sudo git-svn-id: https://svn.o-hand.com/repos/poky/trunk@989 311d38ba-8fff-0310-9ca6-ca027cbcb966
10 lines
158 B
Bash
Executable File
10 lines
158 B
Bash
Executable File
#!/bin/sh
|
|
|
|
IFCONFIG=`which ifconfig`
|
|
if [ "x$IFCONFIG" == "x" ]; then
|
|
# better than nothing...
|
|
IFCONFIG=/sbin/ifconfig
|
|
fi
|
|
|
|
$IFCONFIG tap0 192.168.7.1
|