summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-16 19:51:17 +0200
committerGitHub <noreply@github.com>2023-08-16 19:51:17 +0200
commit555322a6e2a2c1a6243c1f75987897d52d9e3d77 (patch)
tree7f402fe2205849309bbeb8adc9e05c1c55209b92
parent619e707c2c183f5df862daf0b88bb829d94dba8b (diff)
parentccda7e415eccd7ba867e3319086bee5056f516b0 (diff)
downloadvyos-build-555322a6e2a2c1a6243c1f75987897d52d9e3d77.tar.gz
vyos-build-555322a6e2a2c1a6243c1f75987897d52d9e3d77.zip
Merge pull request #376 from c-po/netplug-t5476
netplug: T5476: move configuration files to vyos-1x repo
-rwxr-xr-xdata/live-build-config/includes.chroot/etc/netplug/netplug29
-rw-r--r--data/live-build-config/includes.chroot/etc/netplug/netplugd.conf3
2 files changed, 0 insertions, 32 deletions
diff --git a/data/live-build-config/includes.chroot/etc/netplug/netplug b/data/live-build-config/includes.chroot/etc/netplug/netplug
deleted file mode 100755
index 699be5fd..00000000
--- a/data/live-build-config/includes.chroot/etc/netplug/netplug
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-#
-# vyos policy agent for netplugd
-#
-
-dev="$1"
-action="$2"
-
-case "$action" in
-in)
- run-parts -a $dev /etc/netplug/linkup.d
- ;;
-out)
- run-parts -a $dev /etc/netplug/linkdown.d
- ;;
-
-# probe loads and initialises the driver for the interface and brings the
-# interface into the "up" state, so that it can generate netlink(7) events.
-# This interferes with "admin down" for an interface. Thus, commented out. An
-# "admin up" is treated as a "link up" and thus, "link up" action is executed.
-# To execute "link down" action on "admin down", run appropriate script in
-# /etc/netplug/linkdown.d
-#probe)
-# ;;
-
-*)
- exit 1
- ;;
-esac
diff --git a/data/live-build-config/includes.chroot/etc/netplug/netplugd.conf b/data/live-build-config/includes.chroot/etc/netplug/netplugd.conf
deleted file mode 100644
index ab4d826d..00000000
--- a/data/live-build-config/includes.chroot/etc/netplug/netplugd.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-eth*
-br*
-bond*