mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-28 18:06:20 +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
|
||||
done
|
||||
|
||||
if [ -z $NEKO_HOST ]; then
|
||||
NEKO_HOST=$(hostname -I 2>/dev/null | awk '{print $1}')
|
||||
fi
|
||||
|
||||
if [ -z $NEKO_HOST ]; then
|
||||
NEKO_HOST=$(hostname -i 2>/dev/null)
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue