summaryrefslogtreecommitdiff
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-16 20:00:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-16 20:00:57 +0100
commit7de31639b85a7b4ee855bb0bfaa124ab9ee37de4 (patch)
tree0d01a9aa08281ef563809a6e7878b285ff2324cf /package/base-files/Makefile
parentdf3ea528e4d90a3b767b03a942011ba6ce0c81cf (diff)
interfaces contains wpa keys, make it non-readable for the user, optimize init and shutdown
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 2cd221fb1..cb6fea5f4 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 39
+PKG_RELEASE:= 40
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
@@ -50,6 +50,7 @@ endif
mkdir -p $(IDIR_BASE_FILES)/usr/{lib,bin}
chmod 755 $(IDIR_BASE_FILES)/lib/mdev/init
chmod 600 $(IDIR_BASE_FILES)/etc/shadow
+ chmod 600 $(IDIR_BASE_FILES)/etc/network/interfaces
ln -sf ../proc/mounts $(IDIR_BASE_FILES)/etc/mtab
rm -rf $(IDIR_BASE_FILES)/var
ln -sf tmp $(IDIR_BASE_FILES)/var