#!/bin/sh model=`dmesg | grep Machine | cut -d ' ' -f 9` if [ $model == "Kevin" ] ; then echo gru > /usr/local/etc/machine fi if [ $model == "Elm" ] ; then echo elm > /usr/local/etc/machine fi