summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2024-09-12 13:08:10 +0200
committerSimon Rettberg2024-09-12 13:08:10 +0200
commit766776bd0a06f4faf684b6ef8e09f010c4ed8977 (patch)
treeaf3d2168b6aad6f1f16eee00426b3b23c9adb15a /core
parent[pam-bwidm] Only honor SLX_BWIDM_AUTH for ECP logins (diff)
downloadmltk-766776bd0a06f4faf684b6ef8e09f010c4ed8977.tar.gz
mltk-766776bd0a06f4faf684b6ef8e09f010c4ed8977.tar.xz
mltk-766776bd0a06f4faf684b6ef8e09f010c4ed8977.zip
[vbox-src] Fix setting up bridged interfaces
Diffstat (limited to 'core')
-rwxr-xr-xcore/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env b/core/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env
index 4c5e71ef..08b0e80c 100755
--- a/core/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env
+++ b/core/modules/vbox-src/data/opt/openslx/scripts/systemd-vbox_env
@@ -93,7 +93,7 @@ if [ "$SLX_BRIDGE_OTHER_NICS" = "yes" ]; then
echo "Setting up additional bridged network interfaces"
vboxnet=3
for nic in /sys/class/net/br-nic-*; do
- nic="${nic#br-nic-}"
+ nic="${nic#*/br-nic-}"
[ "$nic" = "*" ] && break
if ! [ "$nic" -ge 0 ]; then
slxlog "vbox-other-nics" "NaN: br-nic-X has X='$nic'"