diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
commit | f96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch) | |
tree | edb17ec2c4ea13c5acb1c7350957a249a820e28d /wlan-ng/files/wlanctl-ng | |
parent | b6588aa6851fb220cedc387d21c51513ef8d67f4 (diff) |
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'wlan-ng/files/wlanctl-ng')
-rw-r--r-- | wlan-ng/files/wlanctl-ng | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/wlan-ng/files/wlanctl-ng b/wlan-ng/files/wlanctl-ng index e69de29bb2..3bd5b1376c 100644 --- a/wlan-ng/files/wlanctl-ng +++ b/wlan-ng/files/wlanctl-ng @@ -0,0 +1,28 @@ +#!/bin/sh + +modprobe usb_ohci_tc6393 + +if test ! -d /dev/usb +then + mkdir -p /dev/usb +fi +if test ! -c /dev/usb/host_ohci +then + printf "*\tCreating /dev/usb/host_ohci node\n" + mknod /dev/usb/host_ohci c 10 222 +fi + +case $0 in +wlanup) + printf "*\tStarting up wlan-ng interface\n" + modprobe prism2_usb + /sbin/usbctl on 1 + /etc/init.d/wlan start + ;; +wlandown) + printf "*\tShutting down wlan-ng interface\n" + /etc/init.d/wlan stop + /sbin/usbctl off 1 + rmmod prism2_usb + ;; +esac |