#!/bin/sh # # note xinit needs full server path XSERVER=/usr/bin/Xipaq if [ -f /usr/bin/Xfbdev ]; then XSERVER=/usr/bin/Xfbdev fi if [ -f /usr/bin/Xepson ]; then XSERVER=/usr/bin/Xepson fi if [ -f /usr/bin/Xorg ]; then XSERVER=/usr/bin/Xorg fi if [ -f /usr/bin/Xomap ]; then XSERVER=/usr/bin/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 } '