diff options
author | Arch Nous | 2015-06-11 15:52:21 +0300 |
---|---|---|
committer | Arch Nous | 2015-06-11 15:52:21 +0300 |
commit | d1dae94a76933dd51f5caf2655c11f39aa9f5e75 (patch) | |
tree | 53e2f95957ae4ed3af6352b1a66f8e6faa6173fb /mt7601u-ap-dkms.install | |
download | aur-d1dae94a76933dd51f5caf2655c11f39aa9f5e75.tar.gz |
Initial import
Diffstat (limited to 'mt7601u-ap-dkms.install')
-rw-r--r-- | mt7601u-ap-dkms.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mt7601u-ap-dkms.install b/mt7601u-ap-dkms.install new file mode 100644 index 000000000000..bf5a5c2ae25d --- /dev/null +++ b/mt7601u-ap-dkms.install @@ -0,0 +1,23 @@ +# old version (without -$pkgrel): ${1%%-*} +# new version (without -$pkgrel): ${2%%-*} + +post_install() { + dkms install mt7601u-ap/${1%%-*} + echo ">>> You might need to modprobe mt7601Uap manually." + echo ">>> Also, you *must* change the default values (especially WPAPSK)" + echo ">>> in /etc/Wireless/RT2870AP/RT2870AP.dat" + echo ">>> Read the documentation in /usr/src/mt7601u-ap-3.0.0.3/doc." +} + +pre_upgrade() { + pre_remove ${2%%-*} +} + +post_upgrade() { + post_install ${1%%-*} +} + +pre_remove() { + dkms remove mt7601u-ap/${1%%-*} --all +} + |