vm/systemd: early user-configurable init script
This commit is contained in:
		
							parent
							
								
									dd7fe532ae
								
							
						
					
					
						commit
						11ae1f45fc
					
				| @ -21,6 +21,7 @@ if [ -e /dev/xvdb ] ; then | |||||||
| 
 | 
 | ||||||
|         mkdir -p /rw/config |         mkdir -p /rw/config | ||||||
|         touch /rw/config/rc.local |         touch /rw/config/rc.local | ||||||
|  |         touch /rw/config/rc.local-early | ||||||
| 
 | 
 | ||||||
|         mkdir -p /rw/home |         mkdir -p /rw/home | ||||||
|         cp -a /home.orig/user /home |         cp -a /home.orig/user /home | ||||||
|  | |||||||
| @ -69,3 +69,6 @@ debug_mode=`$XS_READ qubes-debug-mode 2> /dev/null` | |||||||
| if [ -n "$debug_mode" -a "$debug_mode" -gt 0 ]; then | if [ -n "$debug_mode" -a "$debug_mode" -gt 0 ]; then | ||||||
|     echo "GUI_OPTS=-vv" >> /var/run/qubes-service-environment |     echo "GUI_OPTS=-vv" >> /var/run/qubes-service-environment | ||||||
| fi | fi | ||||||
|  | 
 | ||||||
|  | [ -x /rw/config/rc.local-early ] && /rw/config/rc.local-early | ||||||
|  | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marek Marczykowski
						Marek Marczykowski