Roy Marples
							
						 
					 | 
					
						
						
							
						
						f092045650
					 | 
					
						
						
							
							Support the use of PREFIX and PKG_PREFIX.
						
						
						
						
						
						
					 | 
					
						2008-02-28 11:08:49 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						c2648ca5f5
					 | 
					
						
						
							
							Makefile SH variable now tweaks the default shell used by our scripts.
						
						
						
						
						
						
					 | 
					
						2008-02-27 20:29:32 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						e1e36b2872
					 | 
					
						
						
							
							keywords -> keyword
						
						
						
						
						
						
					 | 
					
						2008-02-19 14:36:22 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						0364bb2c84
					 | 
					
						
						
							
							Add the nojail keyword which excludes services marked as such from the dependency tree when in a jail, #bug 22
						
						
						
						
						
						
					 | 
					
						2008-02-19 14:15:53 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						5e470afb52
					 | 
					
						
						
							
							Ignore resolvconf error messages if the interface does not exist.
						
						
						
						
						
						
					 | 
					
						2008-02-11 20:04:15 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						9300fa240d
					 | 
					
						
						
							
							Tidy up some code and remove the redundant single_user function as we now use exit codes.
						
						
						
						
						
						
					 | 
					
						2008-01-31 09:48:58 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						0c75e888fc
					 | 
					
						
						
							
							Allow rc_need to work with net scripts, and allow for loopback also.
						
						
						
						
						
						
					 | 
					
						2008-01-30 13:20:47 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						c1d18354c6
					 | 
					
						
						
							
							Fix unmounting shared and bind mounts, Gentoo bug #207611.
						
						
						
						
						
						
					 | 
					
						2008-01-30 11:58:21 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						4f6e778758
					 | 
					
						
						
							
							Only allow .sh files to be used as net modules.
						
						
						
						
						
						
					 | 
					
						2008-01-29 15:41:10 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						3e5743426b
					 | 
					
						
						
							
							Fix restart --nodeps again.
						
						
						
						
						
						
					 | 
					
						2008-01-26 16:46:53 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						8793fb8d4c
					 | 
					
						
						
							
							No need to specify SVCNAME anymore.
						
						
						
						
						
						
					 | 
					
						2008-01-23 12:17:50 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						a16428da20
					 | 
					
						
						
							
							We need to shift here.
						
						
						
						
						
						
					 | 
					
						2008-01-22 20:48:24 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						5338b568ca
					 | 
					
						
						
							
							Allow stop start to work when stop is not defined.
						
						
						
						
						
						
					 | 
					
						2008-01-22 19:39:03 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						18da799040
					 | 
					
						
						
							
							Allow things after the /32 for host routes.
						
						
						
						
						
						
					 | 
					
						2008-01-15 12:13:42 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						6e1251b925
					 | 
					
						
						
							
							Ignore functions.sh and rc-functions.sh as these are now created by make.
						
						
						
						
						
						
					 | 
					
						2008-01-14 14:03:46 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						b054a7251b
					 | 
					
						
						
							
							INSTALLAFTER needs to be defined before we include our mk's to work.
						
						
						
						
						
						
					 | 
					
						2008-01-13 17:49:29 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						f755187020
					 | 
					
						
						
							
							Change lib name during make, not install.
						
						
						
						
						
						
					 | 
					
						2008-01-13 13:55:23 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						8ef2bf78f7
					 | 
					
						
						
							
							Don't print an extra eend on failure.
						
						
						
						
						
						
					 | 
					
						2008-01-11 17:41:19 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						fec312d448
					 | 
					
						
						
							
							Update copyrights, my email and license.
						
						
						
						
						
						
					 | 
					
						2008-01-11 15:31:10 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						3bf49a9bd1
					 | 
					
						
						
							
							Adopt a more C style for scripts and remove vim settings.
						
						
						
						
						
						
					 | 
					
						2008-01-11 12:13:46 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						1f4422c72f
					 | 
					
						
						
							
							Remove full license text from shell cripts.
						
						
						
						
						
						
					 | 
					
						2008-01-11 11:45:59 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						50d73fa223
					 | 
					
						
						
							
							Add /usr/pkg to the PATH for NetBSD packages.
						
						
						
						
						
						
					 | 
					
						2008-01-10 23:51:58 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						acbaacb2c1
					 | 
					
						
						
							
							dhcpcd could be anywhere, so allow this.
						
						
						
						
						
						
					 | 
					
						2008-01-10 23:23:39 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						6244bcbe84
					 | 
					
						
						
							
							massage netmask to cidr for buggy shells.
						
						
						
						
						
						
					 | 
					
						2008-01-10 18:11:02 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						6ca21b4c6a
					 | 
					
						
						
							
							More make fixes
						
						
						
						
						
						
					 | 
					
						2008-01-10 16:57:05 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						4314784520
					 | 
					
						
						
							
							Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst keeping BSD for all BSD's.
						
						
						
						
						
						
					 | 
					
						2008-01-10 16:35:59 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						da4217fec8
					 | 
					
						
						
							
							Add net config's to have their own depend function per interface.
						
						
						
						
						
						
					 | 
					
						2008-01-06 13:06:56 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						ddb3ab4704
					 | 
					
						
						
							
							Use LIBNAME for multilib so as not to conflict with LIB
						
						
						
						
						
						
					 | 
					
						2008-01-05 21:05:19 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						cc96c0933d
					 | 
					
						
						
							
							Juggle the Makefiles so that sh knows about NET_LO
						
						
						
						
						
						
					 | 
					
						2008-01-03 15:48:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						19765f289c
					 | 
					
						
						
							
							Move the linking of files in /etc/init.d into the sh/Makefile so that install -jN works.
						
						
						
						
						
						
					 | 
					
						2008-01-03 14:49:34 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						28d7a19201
					 | 
					
						
						
							
							Allow rc_$service_$deptype in rc.conf
						
						
						
						
						
						
					 | 
					
						2008-01-02 15:42:52 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						fadee8e656
					 | 
					
						
						
							
							Move _shell_var shell function to shell_var C applet
						
						
						
						
						
						
					 | 
					
						2008-01-02 15:38:37 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						a273f8df55
					 | 
					
						
						
							
							Fix the adding of default routes
						
						
						
						
						
						
					 | 
					
						2007-12-31 09:28:53 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						b6aa56ce14
					 | 
					
						
						
							
							Fix metric_$IFVAR
						
						
						
						
						
						
					 | 
					
						2007-12-31 09:28:34 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						b6fcfd1157
					 | 
					
						
						
							
							We should export SVCNAME so service_* functions work in depend
						
						
						
						
						
						
					 | 
					
						2007-12-30 16:59:56 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						cbea91cae5
					 | 
					
						
						
							
							Remove rc-help.sh and replace with a man page for runscript 8.
						
						
						
						
						
						
					 | 
					
						2007-12-20 17:39:13 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						e4b73c506b
					 | 
					
						
						
							
							Describe extra_started_commands also.
						
						
						
						
						
						
					 | 
					
						2007-12-17 14:29:19 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						a010d0bb69
					 | 
					
						
						
							
							Remove the try and check_statedir functions
						
						
						
						
						
						
					 | 
					
						2007-12-14 14:19:03 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						9f2403dffa
					 | 
					
						
						
							
							Remove Gentoo copyright from all files that I know I have written
						
						
						
						
						
						
					 | 
					
						2007-12-14 14:12:38 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						a3db3bac62
					 | 
					
						
						
							
							Allow services to be in /usr/local/etc/init.d, but disallow them being added to the boot runlevel.
						
						
						
						
						
						
					 | 
					
						2007-12-14 12:24:16 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						f8db842dd2
					 | 
					
						
						
							
							Default to correct init dir and preserve depconfig
						
						
						
						
						
						
					 | 
					
						2007-12-14 12:17:57 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						5541d3e385
					 | 
					
						
						
							
							We should only do colours if fd1 is a terminal by default
						
						
						
						
						
						
					 | 
					
						2007-12-14 12:16:05 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						a178d53202
					 | 
					
						
						
							
							Move RC_ to EINFO_ for all env vars related to einfo.
						
						
						
						
						
						
					 | 
					
						2007-12-06 10:48:00 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						0490a9290a
					 | 
					
						
						
							
							Remove rc_service_wait as runscript.c should do the waiting. rc_deptree_depend now returns the exact depends as listed. This is so we can support a new 'keywords' directive. We can add whatever here, like 'notimeout' which means that an init script doesn't timeout. This removes the hardcoded check on checkfs and checkroot.
						
						
						
						
						
						
					 | 
					
						2007-12-05 17:48:07 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						07e3d69c52
					 | 
					
						
						
							
							Our default start command should correctly recover on failed re-entrant services
						
						
						
						
						
						
					 | 
					
						2007-12-04 16:15:32 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						ba3248e6d2
					 | 
					
						
						
							
							Preserve IFS correctly
						
						
						
						
						
						
					 | 
					
						2007-12-04 14:18:41 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						bf8d8a9be7
					 | 
					
						
						
							
							rc-help.sh should use standard ecolours vs its internal ideas
						
						
						
						
						
						
					 | 
					
						2007-12-03 16:16:48 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						7683c5056a
					 | 
					
						
						
							
							fix last stupid error
						
						
						
						
						
						
					 | 
					
						2007-11-30 09:59:10 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						a6d8b76876
					 | 
					
						
						
							
							Ensure that lo0 gets 127.0.0.1/8 with a space separated config
						
						
						
						
						
						
					 | 
					
						2007-11-30 09:38:01 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Roy Marples
							
						 
					 | 
					
						
						
							
						
						16ad975b2d
					 | 
					
						
						
							
							Allow services to define which extra commands require the service to be started
						
						
						
						
						
						
					 | 
					
						2007-11-29 16:23:59 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |