Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 04/12/2001 00:22:54
Module Name:	basesrc
Committed By:	christos
Date:		Wed Apr 11 21:22:54 UTC 2001

Modified Files:
	basesrc/usr.sbin/dhcp/client/scripts: netbsd

Log Message:
general cleanup:
1. Use standard shell indentation
2. Use [ expr -a expr ] instead of [ expr ] && [ expr ] (same with -o and ||)
3. Cleanup 0 length string tests
4. Factor out the routing code
5. Use a large switch statement based on $reason instead of the endless
   if elif's
6. Use variables for filenames used
7. Test in all cases for the existance of domainname and hostname
8. No need for individual command redirections in structured statements.

Thanks to kleink for testing and fixing my typos!


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 basesrc/usr.sbin/dhcp/client/scripts/netbsd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.