#!/bin/sh # default to standard reset type="t" if [ "$2" = "d" ] then type="d" fi echo "`date` $1 `basename $0` ${type}" >> $LOCALSTATEDIR/admin.log $LIBDIR/tools/setgalaxy ${type}