From 29581fc635c92edc86bf703576477e72e111634c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 24 Oct 2024 00:41:08 +0000 Subject: automatic import of gns3-server --- 0001-changing-busybox-udhcpc-script-path.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '0001-changing-busybox-udhcpc-script-path.patch') 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 -- cgit v1.2.3