summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 8f63f44..8be616a 100755
--- a/build
+++ b/build
@@ -70,7 +70,7 @@ install: build
if config_enabled HTTPD; then \
install -d -m 0755 dest/var/www; \
fi; \
- if config_enabled IFUPDOWN; then \
+ if config_enabled IFUP && config_enabled IFDOWN; then \
install -d -m 0755 dest/etc; \
for dir in '' if-pre-up.d if-up.d if-down.d if-post-down.d; do \
install -d -m 0755 "dest/etc/network/$${dir}"; \