updated on Wed Jan 25 12:16:47 UTC 2012
[aur-mirror.git] / kernel-eeepc-901 / kernel-eeepc-901.install
blobab6e20206ba54b733410c782d7fb2e949ba6ee9a
1 post_install() {
2 #  _depmod && _kms_warning
3 #  _depmod && _wifi_note
4 #  _depmod && _install_note && _wicd_note
5   _depmod && _install_note
8 post_upgrade() {
9 #  _depmod && _kms_warning
10 #  _depmod && _wifi_note
11 #  _depmod && _install_note && _wicd_note
12   _depmod && _install_note
15 _depmod() {
16   # installed by the kernel-eeepc package, defines KERNEL_VERSION
17   . usr/share/kernel-eeepc-901/currver
18   depmod -a $KERNEL_VERSION
21 _kms_warning() {
22     echo "!!!WARNING!!!"
23     echo "With kernel mode setting (KMS) enabled, you _MUST_ use"
24     echo "UXA acceleration architecture or else the system will"
25     echo "hard lock when it tries to start X Window System."
26     echo "---"
27     echo "To enable UXA, put the following line into Device section"
28     echo "of your xorg.conf file."
29     echo '   Option      "AccelMethod"    "UXA"'
30     echo "---"
31     echo "Again, do _NOT_ use any other acceleration architecture"
32     echo "other than UXA. You have been warned."
35 _wifi_note() {
36     echo ""
37     echo "==> Wireless interface is now known as wlan0."
38     echo "==> Don't forget to change your configuration"
39     echo "==> accordingly."
40     echo ""
43 _install_note() {
44     echo "==> For detailed installation instructions, please consult"
45     echo "==> http://bitbucket.org/zodmaner/eeepc-901/wiki/Home."
48 _wicd_note() {
49     echo "==>"
50     echo "==> If you use Wicd Network Manager, enable"
51     echo "==> \"Use dBm to measure signal strength\""
52     echo "==> option in advanced settings menu to"
53     echo "==> have a correct display of signal strength."
54     echo ""