Init
This commit is contained in:
		
							
								
								
									
										20
									
								
								usr/share/initramfs-tools/scripts/init-bottom/yggdrasil
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										20
									
								
								usr/share/initramfs-tools/scripts/init-bottom/yggdrasil
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
PREREQ=""
 | 
			
		||||
prereqs()
 | 
			
		||||
{
 | 
			
		||||
	echo "$PREREQ"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
case $1 in
 | 
			
		||||
prereqs)
 | 
			
		||||
	prereqs
 | 
			
		||||
	exit 0
 | 
			
		||||
	;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
. /scripts/functions
 | 
			
		||||
 | 
			
		||||
log_begin_msg "Stopping yggdrasil"
 | 
			
		||||
PID=$(cat /run/yggdrasil.pid 2> /dev/null)
 | 
			
		||||
kill $PID
 | 
			
		||||
log_end_msg
 | 
			
		||||
		Reference in New Issue
	
	Block a user