summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-22 17:32:53 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-22 17:32:53 +0100
commitebbdfe44aa321a2de35ddccaa255d384a5fd99e4 (patch)
treea742204867ad1ef08e51ffbb6affe9e121a52555
parent7c67d049b7d35300673ed3401a4f5bbc56634506 (diff)
downloadvyatta-cfg-system-ebbdfe44aa321a2de35ddccaa255d384a5fd99e4.tar.gz
vyatta-cfg-system-ebbdfe44aa321a2de35ddccaa255d384a5fd99e4.zip
xdp: mount /sys/fs/bpf on startup for later map population
-rwxr-xr-xscripts/rl-system.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index b4bf7123..a481e63b 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -178,6 +178,9 @@ start () {
chgrp vyattacfg /var/run/vyatta /var/log/vyatta
chmod 775 /var/run/vyatta /var/log/vyatta
+ # mountpoint for bpf maps required by xdp
+ mount -t bpf none /sys/fs/bpf
+
update_interface_config
create_ssh_host_keys || \
log_failure_msg "can't initialize ssh host keys"