#!/bin/csh -f

switch (`uname -s``uname -r`)
case SunOS5*:
	breaksw
default:
	exec echo ${0}: does not run on `uname -s` `uname -r`
endsw

while($#argv)
	switch ("$1")
	case -d:
		set DEBUG
#		shift
#		breaksw
# fall through to verbose
	case -v:
		set VERBOSE
		shift
		breaksw
	default:
		set DQ = '"'
		exec echo ${0}: "What do I do with $DQ$1$DQ?"
	endsw
end

if ($?VERBOSE) echo `date# +%T` setenv _INIT_RECONFIG 1
setenv _INIT_RECONFIG 1

if ($?VERBOSE) echo `date# +%T` /sbin/sh /etc/init.d/drvconfig
/sbin/sh /etc/init.d/drvconfig

if ($?VERBOSE) echo `date# +%T` /sbin/sh /etc/init.d/devlinks
/sbin/sh /etc/init.d/devlinks

if ($?VERBOSE) echo `date# +%T` Done
