Commit 0553e35f authored by Vitaly Lipatov's avatar Vitaly Lipatov

tune_new_system.sh: use e* instead of eth0 for inet settings

parent adf749db
...@@ -127,7 +127,8 @@ cat <<EOF >/etc/chromium/policies/recommended/etersoft-kerberos.json ...@@ -127,7 +127,8 @@ cat <<EOF >/etc/chromium/policies/recommended/etersoft-kerberos.json
EOF EOF
fi fi
if [ -f /etc/net/ifaces/eth0/options ] ; then if [ -f /etc/net/ifaces/e*/options ] ; then
subst "s|^NM_CONTROLLED=yes|NM_CONTROLLED=no|" /etc/net/ifaces/eth0/options subst "s|^NM_CONTROLLED=yes|NM_CONTROLLED=no|" /etc/net/ifaces/e*/options
subst "s|^DISABLED=yes|DISABLED=no|" /etc/net/ifaces/eth0/options subst "s|^DISABLED=yes|DISABLED=no|" /etc/net/ifaces/e*/options
fi
fi fi
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