pmaports/main/anbox-image/pma#480.patch
2020-05-13 15:59:14 +03:00

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