tmpfiles.d init.d scripts
Now that the tmpfiles.d code is more tested, actually call it from init.d. It assumes that /run is already available when it runs. Please note it runs TWICE. - During sysinit, ideally just after /dev/shm is created, but before udev has started. After udev is also acceptable, but not ideal. - During boot, ideally just after localmount has completed. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
DIR=	${CONFDIR}
 | 
			
		||||
CONF=	bootmisc fsck hostname localmount urandom ${CONF-${OS}}
 | 
			
		||||
CONF=	bootmisc fsck hostname localmount urandom tmpfilesd ${CONF-${OS}}
 | 
			
		||||
 | 
			
		||||
ifeq (${MKNET},)
 | 
			
		||||
CONF+= network staticroute
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								conf.d/tmpfilesd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								conf.d/tmpfilesd
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
# Extra options for tmpfiles.sh
 | 
			
		||||
#tmpfiles_opts="--verbose"
 | 
			
		||||
tmpfiles_opts=""
 | 
			
		||||
		Reference in New Issue
	
	Block a user