diff options
Diffstat (limited to 'abs/core/plextor-convertX-driver/convertX.install')
-rwxr-xr-x | abs/core/plextor-convertX-driver/convertX.install | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/abs/core/plextor-convertX-driver/convertX.install b/abs/core/plextor-convertX-driver/convertX.install index 8081c6a..5b79d84 100755 --- a/abs/core/plextor-convertX-driver/convertX.install +++ b/abs/core/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 } |