pmaports/main/anbox-image/pma#480.patch

15 lines
280 B
Diff
Raw Normal View History

--- 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