Skip to content

Commit

Permalink
Merge pull request #2420 from GNS3/bugfix/2419
Browse files Browse the repository at this point in the history
Fix issues with recent busybox versions
  • Loading branch information
grossmj authored Oct 1, 2024
2 parents a1922ef + 8af71ee commit 6933c3d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions gns3server/compute/docker/resources/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ PATH=/gns3/bin:/tmp/gns3/bin:/sbin:$PATH
# bootstrap busybox commands
if [ ! -d /tmp/gns3/bin ]; then
busybox mkdir -p /tmp/gns3/bin
/gns3/bin/busybox --install -s /tmp/gns3/bin
for applet in `busybox --list-full`
do
ln -s /gns3/bin/busybox "/tmp/gns3/bin/$applet"
done
fi

# Restore file permission and mount volumes
Expand Down Expand Up @@ -75,7 +78,7 @@ ip link set dev lo up
while true
do
grep $GNS3_MAX_ETHERNET /proc/net/dev > /dev/null && break
sleep 0.5
usleep 500000 # wait 0.5 seconds
done

# activate eth interfaces
Expand Down

0 comments on commit 6933c3d

Please sign in to comment.