#!/bin/sh -f
# start wmiirc

export WMII_CONFPATH="$HOME/.wmii-3.5:/usr/local/share/examples//wmii-3.5"

if wmii9rc; then
	WMIIRC=`PATH="$WMII_CONFPATH:$PATH" which rc.wmii`
else
	WMIIRC=`PATH="$WMII_CONFPATH:$PATH" which wmiirc`
fi

mkdir $HOME/.wmii-3.5 2>/dev/null && /usr/local/share/examples//wmii-3.5/welcome &
exec "$WMIIRC" $@
