[BusyBox] If Command

tom at ceisystems.com tom at ceisystems.com
Mon May 5 19:23:57 UTC 2003


Proper syntax:

if [ "$1" = "" ]; then
	echo "$0 (restore, backup)"
	exit 1
fi

	Outside of this advice, I (nor anyone else) can not help you.
Perhaps you could attach the error you receive, and/or some more detail
WRT your busybox configuration.

Thanks,
Thomas Cameron
CEI Systems, Inc.


> -----Original Message-----
> From: Jim Gifford [mailto:maillist at jg555.com] 
> Sent: Monday, May 05, 2003 3:10 PM
> To: busybox at busybox.net
> Subject: [BusyBox] If Command
> 
> 
> I'm trying to figure out why this command doesn't work under 
> busybox, advise
> is welcomed.
> 
> if [ "$1" == "" ]
>         then
>             echo "$0 (restore,backup)"
>             exit 1
> fi
> 
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox
> 


More information about the busybox mailing list