summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
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'"