summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-05 15:05:03 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-05 15:05:03 (EDT)
commit5e7becab2f678dfadbbf0d7633a6dba634f3d0a9 (patch)
tree1c4626e391b180c219b02e80296fc30cf07cf9d9 /build
parente1f7888d31f6bbaa5844a4a494488d6e0169419e (diff)
Add network hook scripts
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/build b/build
index ec6f626..9951572 100755
--- a/build
+++ b/build
@@ -14,6 +14,10 @@ install: build
oh-autoinstall -B src/wpa_supplicant/ -- \
LIBDIR=/usr/lib/$(OPK_HOST_ARCH) \
BINDIR=/usr/sbin
+ set -e; for f in ../ifupdown/*; do \
+ install -d -m 0755 "dest/etc/network/$${f##*/}.d"; \
+ install -m 0755 "$${f}" "dest/etc/network/$${f##*/}.d/wpa"; \
+ done
oh-fixperms
oh-strip
oh-installfiles