Symlink '/sbin/shutdown' and '/sbin/reboot' to '/usr/bin' if not present there
This commit is contained in:
		@@ -250,6 +250,14 @@ EOF
 | 
				
			|||||||
	fi
 | 
						fi
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [[ ! -f '/usr/bin/shutdown' ]]; then
 | 
				
			||||||
 | 
						ln -s /sbin/shutdown /usr/bin/shutdown
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [[ ! -f '/usr/bin/reboot' ]]; then
 | 
				
			||||||
 | 
						ln -s /sbin/reboot /usr/bin/reboot
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
zfs \
 | 
					zfs \
 | 
				
			||||||
	snapshot \
 | 
						snapshot \
 | 
				
			||||||
	${HOSTNAME,,}/ROOT/${ID}@post-install
 | 
						${HOSTNAME,,}/ROOT/${ID}@post-install
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user