diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-17 22:00:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-17 22:00:10 +0000 |
commit | 6a8b3418343b7cdc850a49dc4280e363941ae312 (patch) | |
tree | 2d8b559c41a9d8dc27cc9e9618878fb14b91ca54 /0001-changing-busybox-udhcpc-script-path.patch | |
parent | 7f33542a7dc9c133198b7afdf9fe0933b2c0aa87 (diff) |
automatic import of gns3-server
Diffstat (limited to '0001-changing-busybox-udhcpc-script-path.patch')
-rw-r--r-- | 0001-changing-busybox-udhcpc-script-path.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/0001-changing-busybox-udhcpc-script-path.patch b/0001-changing-busybox-udhcpc-script-path.patch new file mode 100644 index 0000000..e112487 --- /dev/null +++ b/0001-changing-busybox-udhcpc-script-path.patch @@ -0,0 +1,26 @@ +From 1e1ab0ad3244db7f42585a0a952051b834de0b83 Mon Sep 17 00:00:00 2001 +From: rpm-build <rpm-build> +Date: Tue, 12 May 2020 07:05:26 +0200 +Subject: [PATCH] changing busybox udhcpc script path + +--- + gns3server/compute/docker/resources/init.sh | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/gns3server/compute/docker/resources/init.sh b/gns3server/compute/docker/resources/init.sh +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 ++ 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 + fi + + # Restore file permission and mount volumes +-- +2.26.2 + |