diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2011-01-07 18:21:51 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-10 10:45:27 +0100 |
commit | 4935edd89d6019323d7c67fd9692cebe0f110496 (patch) | |
tree | a09bdc84c9014813bfb0652452332167ef1e362f /package/base-files/Makefile | |
parent | 2d2cde54102a8cbb12753c7a67058154b6f9c035 (diff) |
make installation of package network hooks optional
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index a78326074..dee9fd9a4 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -45,7 +45,9 @@ endif mkdir -p $(IDIR_BASE_FILES)/usr/lib/ipkg/lists mkdir -p $(IDIR_BASE_FILES)/etc/crontabs mkdir -p $(IDIR_BASE_FILES)/{dev,boot,root,sys,proc,tmp,mnt} +ifeq (${ADK_INSTALL_PACKAGE_NETWORK_SCRIPTS},y) mkdir -p $(IDIR_BASE_FILES)/etc/network/{if-pre-up.d,if-up.d,if-down.d,if-post-down.d} +endif mkdir -p $(IDIR_BASE_FILES)/usr/{lib,bin} chmod 755 $(IDIR_BASE_FILES)/lib/mdev/init chmod 600 $(IDIR_BASE_FILES)/etc/shadow |