mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			291 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			291 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								#!/bin/sh
							 | 
						||
| 
								 | 
							
								set -e
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								zedd="/usr/lib/zfs-linux/zed.d"
							 | 
						||
| 
								 | 
							
								etcd="/etc/zfs/zed.d"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# remove the overrides created in prerm
							 | 
						||
| 
								 | 
							
								find "${etcd}" -maxdepth 1 -lname '/dev/null' -delete
							 | 
						||
| 
								 | 
							
								# remove any dangling symlinks to old zedlets
							 | 
						||
| 
								 | 
							
								find "${etcd}" -maxdepth 1 -lname "${zedd}/*" -xtype l  -delete
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#DEBHELPER#
							 | 
						||
| 
								 | 
							
								
							 |