summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-08 12:50:39 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-08 12:50:39 (EDT)
commite9e66632d0566851ac51c907642418ecbe69b46e (patch)
tree22344ec996c0a788815c8dd1971e01ac51fa2293 /build
parentb689f66da6b428be37acfdd432498af877a436a0 (diff)
build: Actually install networking hooks
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/build b/build
index ec824d5..e60c3eb 100755
--- a/build
+++ b/build
@@ -73,6 +73,10 @@ install: build
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}"; \
+ if [ -d "../src.etc/network/$${dir}" ]; then \
+ install -m 0755 "../src.etc/network/$${dir}/"* \
+ "dest/etc/network/$${dir}"; \
+ fi; \
done; \
fi; \
if config_enabled UDHCPC; then \