diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-06-14 13:43:49 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-06-14 13:43:49 (EDT) |
commit | 5567fed0b112401cbb462a290a6e58032e63ab84 (patch) | |
tree | d25bd2773b4a097303fcbcb5da68e6572318078c /src.etc/init.d | |
parent | aa128b328d9419644790c74a8a10cf0d2cadeff5 (diff) |
/etc/init.d/networking: Add warning to interfaces.
Diffstat (limited to 'src.etc/init.d')
-rwxr-xr-x | src.etc/init.d/networking | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src.etc/init.d/networking b/src.etc/init.d/networking index 25714c1..274346f 100755 --- a/src.etc/init.d/networking +++ b/src.etc/init.d/networking @@ -4,6 +4,8 @@ start() { log 'Configuring network interfaces' exec 3>/etc/network/interfaces + printf '# GENERATED FILE. DO NO EDIT.\n' >&3 + printf '# Edit /etc/network/interfaces.local instead.\n\n' >&3 printf 'auto lo\niface lo inet loopback\n\n' >&3 for iface in /sys/class/net/eth*; do iface="${iface##*/}" |