mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-05 21:35:52 +02:00
fix dev scripts.
This commit is contained in:
parent
2d8e5c9753
commit
4bd6eb6db9
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ if [ -z $NEKO_HOST ]; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ -z $NEKO_HOST ]; then
|
||||||
|
NEKO_HOST=$(hostname -I 2>/dev/null | awk '{print $1}')
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z $NEKO_HOST ]; then
|
if [ -z $NEKO_HOST ]; then
|
||||||
NEKO_HOST=$(hostname -i 2>/dev/null)
|
NEKO_HOST=$(hostname -i 2>/dev/null)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue