diff options
Diffstat (limited to '0001-changing-busybox-udhcpc-script-path.patch')
-rw-r--r-- | 0001-changing-busybox-udhcpc-script-path.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/0001-changing-busybox-udhcpc-script-path.patch b/0001-changing-busybox-udhcpc-script-path.patch index e112487..e5dea19 100644 --- a/0001-changing-busybox-udhcpc-script-path.patch +++ b/0001-changing-busybox-udhcpc-script-path.patch @@ -11,10 +11,10 @@ diff --git a/gns3server/compute/docker/resources/init.sh b/gns3server/compute/do index 8040d02..987a03b 100755 --- a/gns3server/compute/docker/resources/init.sh +++ b/gns3server/compute/docker/resources/init.sh -@@ -26,6 +26,9 @@ PATH=/gns3/bin:/tmp/gns3/bin:/sbin - if [ ! -d /tmp/gns3/bin ]; then - busybox mkdir -p /tmp/gns3/bin - /gns3/bin/busybox --install -s /tmp/gns3/bin +@@ -29,6 +29,9 @@ if [ ! -d /tmp/gns3/bin ]; then + do + ln -s /gns3/bin/busybox "/tmp/gns3/bin/$applet" + done + rm /tmp/gns3/bin/udhcpc + echo -e '#!/bin/sh\n/gns3/bin/busybox udhcpc -s /gns3/etc/udhcpc/default.script' > /tmp/gns3/bin/udhcpc + chmod 777 /tmp/gns3/bin/udhcpc |