summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/live/30-mpls_modules.chroot
diff options
context:
space:
mode:
Diffstat (limited to 'data/live-build-config/hooks/live/30-mpls_modules.chroot')
-rwxr-xr-xdata/live-build-config/hooks/live/30-mpls_modules.chroot9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/30-mpls_modules.chroot b/data/live-build-config/hooks/live/30-mpls_modules.chroot
new file mode 100755
index 00000000..79cc041a
--- /dev/null
+++ b/data/live-build-config/hooks/live/30-mpls_modules.chroot
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# FRR LDP require loaded MPLS modules before starting FRR daemons
+
+echo I: Enabling autoload MPLS modules
+
+echo "mpls_gso" >> /etc/modules-load.d/mpls.conf
+echo "mpls_iptunnel" >> /etc/modules-load.d/mpls.conf
+echo "mpls_router" >> /etc/modules-load.d/mpls.conf