]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
vstart: use ip addr instead of ifconfig if available 8784/head
authorDavid Disseldorp <ddiss@suse.de>
Wed, 27 Apr 2016 12:25:47 +0000 (14:25 +0200)
committerDavid Disseldorp <ddiss@suse.de>
Wed, 27 Apr 2016 21:49:52 +0000 (23:49 +0200)
commit79a7d40ef1e5da3a68ffb7e6546499fbbfa99c26
tree487e3a6e64bbc72adeefdde2e70b0d1d96a01320
parentcafe8825ecccc3be5e97a676d1c8429484277334
vstart: use ip addr instead of ifconfig if available

Ifconfig is obsolete with Linux 2.0+, and may not be in a user's PATH.
Use ip addr by default and fall-back to ifconfig if it's missing.

Signed-off-by: David Disseldorp <ddiss@suse.de>
src/vstart.sh