From: Luiz Angelo Daros de Luca Date: Sun, 19 Aug 2018 01:53:07 +0000 (-0300) Subject: base-files: create /etc/ethers by default X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d810d44e5a88e7ed5a72f8cd39fc57639aa6dbd0;p=openwrt%2Fstaging%2Faparcar.git 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 --- 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