[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New hwclock.sh for powerpc



On Sat, 25 Sep 1999, Joel Klecker wrote:
> case "$Arch" in
>      CHRP)
> 	CLOCKPROG=hwclock
> 	ADJUSTARG=--adjust
> 	WRITEARG=--systohc
> 	SHOWARG=--show
> 	[ "$UTCARG" = yes ] && UTCARG="--utc"
>      ;;
>      PowerMac*|iMac*|Power[Bb]ook*)
> 	CLOCKPROG=clock
> 	ADJUSTARG=-a
> 	WRITEARG=-w
> 	SHOWARG=-r
> 	[ "$UTCARG" = yes ] && UTCARG="-u"
>      ;;
>      *)

Why not make the argument syntax for `clock' similar to the that for `hwclock'?

And you best use the full path name to `clock', since `clock' is also present
in Xview, IIRC.

Greetings,

						Geert

--
Geert Uytterhoeven ----------------- Sony Suprastructure Center Europe (SUPC-E)
Geert.Uytterhoeven@sonycom.com ------------------- Sint Stevens Woluwestraat 55
Phone +32-2-7248648 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium



Reply to: