d4a99bc43a
Fixes #480.
14 lines
280 B
Diff
14 lines
280 B
Diff
--- a/anbox-init.sh
|
|
+++ b/anbox-init.sh
|
|
@@ -36,5 +36,11 @@ prepare_filesystem &
|
|
echo "Waiting for filesystem being prepared ..."
|
|
wait $!
|
|
|
|
+(
|
|
+while ip route add default via 192.168.250.1; do
|
|
+ sleep 1
|
|
+done
|
|
+) >/dev/null 2>&1 &
|
|
+
|
|
echo "Starting real init now ..."
|
|
exec /init
|