Module Name: src Committed By: snj Date: Tue Apr 21 05:22:58 UTC 2015
Modified Files: src/distrib/sets/lists/base [netbsd-7]: mi src/distrib/sets/lists/man [netbsd-7]: mi src/doc [netbsd-7]: CHANGES src/usr.sbin [netbsd-7]: Makefile Added Files: src/usr.sbin/service [netbsd-7]: Makefile service service.8 Log Message: Pull up following revision(s) (requested by ast in ticket #636): distrib/sets/lists/base/mi: revision 1.1098 distrib/sets/lists/man/mi: revision 1.1498 doc/CHANGES: patch usr.sbin/Makefile: revision 1.270 usr.sbin/service/Makefile: revision 1.1 usr.sbin/service/service: revision 1.1-1.7 usr.sbin/service/service.8: revisions 1.1-1.4 Import a substantially modified service(8) command from FreeBSD to manage rc.d scripts. This command is well known on most other Unixes and should help soften the learning curve for Unix admins coming to NetBSD. -- Make the usage appear more standard. -- Sort options. Use An -nosplit in AUTHORS section. -- Remove -f option as rc_fast is not set in invocation mode. Do the load_rc_config *after* option parsing. Catch conflicting -e + -l option specs. -- Integrate some feedback gleened from tech-userle...@netbsd.org Avoid ls -P so that script can also run pre-netbsd-7. Make sure /etc/rc.conf.d configurations are supported. -- cosmetic change in man 8 service use shell quoting in a safe way as suggested by Alan Barrett -- More shell quoting. /etc/rc.d/* file names with embedded spaces are not expected to work, but let's quote them anyway. To generate a diff of this commit: cvs rdiff -u -r1.1087.2.3 -r1.1087.2.4 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.1485.2.6 -r1.1485.2.7 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.1967.2.11 -r1.1967.2.12 src/doc/CHANGES cvs rdiff -u -r1.269 -r1.269.2.1 src/usr.sbin/Makefile cvs rdiff -u -r0 -r1.1.2.2 src/usr.sbin/service/Makefile cvs rdiff -u -r0 -r1.7.2.2 src/usr.sbin/service/service cvs rdiff -u -r0 -r1.4.2.2 src/usr.sbin/service/service.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.