#!/bin/sh options="--category=chassis" while test $# != 0 do case "$1" in *) options="$options $1" ;; esac shift done exec /usr/sbin/ipmi-config $options