summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. 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)
commit5567fed0b112401cbb462a290a6e58032e63ab84 (patch)
treed25bd2773b4a097303fcbcb5da68e6572318078c
parentaa128b328d9419644790c74a8a10cf0d2cadeff5 (diff)
/etc/init.d/networking: Add warning to interfaces.
-rwxr-xr-xsrc.etc/init.d/networking2
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##*/}"