diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-03-26 21:55:07 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-03-26 21:55:07 (GMT) |
commit | b6e3f89934e70bbed2a7e1c550760fc9d356c821 (patch) | |
tree | 2d6721a4098493c3d3eaade10148efcb091c0d02 /abs/core-testing/plextor-convertX-driver/convertX.install | |
parent | 43e339db3b03991725137cc1538215c26d5c9b64 (diff) | |
download | linhes_pkgbuild-b6e3f89934e70bbed2a7e1c550760fc9d356c821.zip linhes_pkgbuild-b6e3f89934e70bbed2a7e1c550760fc9d356c821.tar.gz linhes_pkgbuild-b6e3f89934e70bbed2a7e1c550760fc9d356c821.tar.bz2 |
plextor-convertX-driver: Add required usbfs line to /etc/fstab via .install
closes 370
Diffstat (limited to 'abs/core-testing/plextor-convertX-driver/convertX.install')
-rwxr-xr-x | abs/core-testing/plextor-convertX-driver/convertX.install | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/abs/core-testing/plextor-convertX-driver/convertX.install b/abs/core-testing/plextor-convertX-driver/convertX.install index 8081c6a..5b79d84 100755 --- a/abs/core-testing/plextor-convertX-driver/convertX.install +++ b/abs/core-testing/plextor-convertX-driver/convertX.install @@ -7,6 +7,8 @@ post_install() { echo ">>> Updating module dependencies. Please wait ..." KERNEL_VERSION=2.6.28-LinHES depmod -v $KERNEL_VERSION > /dev/null 2>&1 + echo "# Added For Plextor ConvertX" >> /etc/fstab + echo "usbfs /proc/bus/usb usbfs devmode=0666 0 0" >> /etc/fstab /bin/true } @@ -23,6 +25,7 @@ post_remove() { echo ">>> Updating module dependencies. Please wait ..." KERNEL_VERSION=2.6.28-LinHES depmod -v $KERNEL_VERSION > /dev/null 2>&1 + sed -i~ -e '/ConvertX/d' -e '/usbfs/d' /etc/fstab /bin/true } |