summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/05-ndis
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-11-09 15:42:30 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-11-09 15:42:30 +0100
commit02a7ccfc2eda3b350b6e7aade0a9c1e05789504a (patch)
tree912f5c4f026e61f674abdef16785cc38762c4cb0 /config/chroot_local-hooks/05-ndis
parent3c071f6ff60e6fd5afde17d113beb50f1e246422 (diff)
downloadkanotix-02a7ccfc2eda3b350b6e7aade0a9c1e05789504a.zip
kanotix-02a7ccfc2eda3b350b6e7aade0a9c1e05789504a.tar.gz
added checks to hooks
Diffstat (limited to 'config/chroot_local-hooks/05-ndis')
-rwxr-xr-xconfig/chroot_local-hooks/05-ndis1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/05-ndis b/config/chroot_local-hooks/05-ndis
index 8b77f81..7b89a97 100755
--- a/config/chroot_local-hooks/05-ndis
+++ b/config/chroot_local-hooks/05-ndis
@@ -1,4 +1,5 @@
#!/bin/sh
+[ -x /usr/sbin/ndiswrapper ] || exit 0
[ -f /root/build.conf ] && . /root/build.conf
if [ "$LB_ARCHITECTURE" = "amd64" ]; then
wget -qO- http://kanotix.com/files/fix/ndiswrapper/ndiswrapper64-fwlan64.tar.gz|tar zxC /etc