From d810d44e5a88e7ed5a72f8cd39fc57639aa6dbd0 Mon Sep 17 00:00:00 2001 From: Luiz Angelo Daros de Luca Date: Sat, 18 Aug 2018 22:53:07 -0300 Subject: [PATCH] base-files: create /etc/ethers by default /etc/ethers is missing on /rom but always created when dnsmasq runs. It is better to have it in place and avoid an extra change in flash after firstboot. It will generate an extra /etc/ethers-opkg when it has changed. Signed-off-by: Luiz Angelo Daros de Luca Signed-off-by: Hans Dedecker --- package/base-files/Makefile | 1 + package/base-files/files/etc/ethers | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 package/base-files/files/etc/ethers diff --git a/package/base-files/Makefile b/package/base-files/Makefile index b72b17ee16..52669444ee 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -49,6 +49,7 @@ define Package/base-files/conffiles /etc/config/system /etc/crontabs/ /etc/dropbear/ +/etc/ethers /etc/group /etc/hosts /etc/inittab diff --git a/package/base-files/files/etc/ethers b/package/base-files/files/etc/ethers new file mode 100644 index 0000000000..b92c200a4b --- /dev/null +++ b/package/base-files/files/etc/ethers @@ -0,0 +1,6 @@ +# +# Lookup man 5 ethers for syntax documentation +# +# Examples : +# 02:00:11:22:33:44 OpenWrt.lan +# 02:00:11:22:33:44 192.168.1.1 -- 2.25.1