summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-05-19 18:20:23 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-05-19 18:20:23 (EDT)
commit3c1e13638ed11047cfab0d69a9c4a2838f9c34a1 (patch)
treec3ff66a5537f03f00492866cc42d1e83f537450d /build
parent143dfc9f3fd6ff5932a5bec4718f2a0eca438aaf (diff)
Make /etc/network/ hierarchy.
Diffstat (limited to 'build')
-rwxr-xr-xbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/build b/build
index 3d5cafc..17deddc 100755
--- a/build
+++ b/build
@@ -60,6 +60,12 @@ install: build
install -p -m 0644 ../src.var/www/index.html \
dest/var/www/index.html; \
fi; \
+ if config_enabled IFUPDOWN; then \
+ install -d -m 0755 dest/etc; \
+ for d in '' if-pre-up.d if-up.d if-down.d if-post-down.d; do \
+ install -d -m 0755 "dest/etc/network/$${dir}"; \
+ done; \
+ fi; \
if config_enabled UDHCPC; then \
install -d -m 0755 dest/usr/share/udhcpc; \
install -p -m 0755 ../src.usr/share/udhcpc/default.script \