#!/bin/sh # XSERVER=Xipaq if [ -f /usr/bin/Xfbdev ]; then XSERVER=Xfbdev fi if [ -f /usr/bin/Xepson ]; then XSERVER=Xepson fi if [ -f /usr/bin/Xorg ]; then XSERVER=Xorg fi if [ -f /usr/bin/Xomap ]; then XSERVER=Xomap fi . /etc/profile module_id() { ## used to read from assets, but sometimes assets is corrupted # grep "Module ID" /proc/hal/assets | sed "s/.*://" ## used to read from /proc/hal/model, but that is removed in 2.6 # echo ' iPAQ' `cat /proc/hal/model` awk 'BEGIN { FS=": " } /Hardware/ { print $2 } '