mirror of
				https://github.com/gtxaspec/wz_mini_hacks.git
				synced 2025-10-31 20:51:59 +00:00 
			
		
		
		
	fix S11configbackup is not run when not using overlay rootfs
This commit is contained in:
		| @@ -8,7 +8,8 @@ | ||||
| . /opt/wz_mini/wz_mini.conf | ||||
|  | ||||
| if df / | grep -q overlayfs; then | ||||
| mount --bind /sdcard /opt # Temporarily let this script do its operations as if SD Card is mounted as /opt | ||||
| 	mount --bind /sdcard /opt # Temporarily let this script do its operations as if SD Card is mounted as /opt | ||||
| fi | ||||
| case "$1" in | ||||
| 	start) | ||||
|  | ||||
| @@ -59,6 +60,7 @@ case "$1" in | ||||
| 		exit 1 | ||||
| 		;; | ||||
| esac | ||||
| umount /opt | ||||
| if df / | grep -q overlayfs; then | ||||
| 	umount /opt | ||||
| fi | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 archandanime
					archandanime