You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dirty-helpers/connections-without-ipv6-pr...

14 lines
260 B
Plaintext

#!/bin/bash
# list all redhat/networkmanager connections without ipv6 privacy
set -e
cd /etc/sysconfig/network-scripts
for c in ifcfg-*; do
if [ "$c" == "ifcfg-lo" ]; then
continue
fi
if ! grep -q IPV6_PRIVACY=rfc3041 $c; then
echo $c
fi
done