diff options
author | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2018-08-18 22:53:07 -0300 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-08-21 15:55:00 +0200 |
commit | d810d44e5a88e7ed5a72f8cd39fc57639aa6dbd0 (patch) | |
tree | ce310f1b15d96a8c9fb102fa4c9a47a9a0a7ae9b | |
parent | 22681cdef21be45d4d2c3e21939209ea618b66e4 (diff) | |
download | upstream-d810d44e5a88e7ed5a72f8cd39fc57639aa6dbd0.tar.gz upstream-d810d44e5a88e7ed5a72f8cd39fc57639aa6dbd0.tar.bz2 upstream-d810d44e5a88e7ed5a72f8cd39fc57639aa6dbd0.zip |
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 <luizluca@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
-rw-r--r-- | package/base-files/Makefile | 1 | ||||
-rw-r--r-- | package/base-files/files/etc/ethers | 6 |
2 files changed, 7 insertions, 0 deletions
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 |