Add startx notification to motd
This commit is contained in:
		
							parent
							
								
									098454ccc3
								
							
						
					
					
						commit
						eb5f209529
					
				
							
								
								
									
										13
									
								
								airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					# remove from airootfs!
 | 
				
			||||||
 | 
					[Trigger]
 | 
				
			||||||
 | 
					Operation = Install
 | 
				
			||||||
 | 
					Type = Package
 | 
				
			||||||
 | 
					Target = xorg-xinit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[Action]
 | 
				
			||||||
 | 
					Description = Add instructions for startx
 | 
				
			||||||
 | 
					When = PostTransaction
 | 
				
			||||||
 | 
					Depends = xorg-xinit
 | 
				
			||||||
 | 
					Depends = sed
 | 
				
			||||||
 | 
					Depends = sh
 | 
				
			||||||
 | 
					Exec = /bin/sh -c "echo -e \\nTo start GUI, type startx.\\n >> /etc/motd"
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user