Commit 6a7dfe8c authored by Nico Schottelius's avatar Nico Schottelius

insert only once

Signed-off-by: default avatarNico Schottelius <>
parent a0609de1
......@@ -20,7 +20,11 @@
# Idea based on data from D-INFK ISG (
cat << eof >> /etc/modprobe.d/aliases
string="# workaround for CVE-2009-2692"
grep "^$string" "$file" >/dev/null || cat << eof >> "$file"
alias net-pf-10 off
alias ipv6 off
alias ib_ipoib off
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment