mirror of
				https://github.com/kenzok8/openwrt-packages.git
				synced 2025-11-03 08:28:50 +08:00 
			
		
		
		
	update 2022-12-23 08:40:37
This commit is contained in:
		@ -16,7 +16,7 @@
 | 
			
		||||
include $(TOPDIR)/rules.mk
 | 
			
		||||
 | 
			
		||||
PKG_NAME:=luci-app-amlogic
 | 
			
		||||
PKG_VERSION:=3.1.147
 | 
			
		||||
PKG_VERSION:=3.1.148
 | 
			
		||||
PKG_RELEASE:=1
 | 
			
		||||
 | 
			
		||||
PKG_LICENSE:=GPL-2.0 License
 | 
			
		||||
 | 
			
		||||
@ -61,12 +61,14 @@ case "${ROOT_PTNAME}" in
 | 
			
		||||
mmcblk?p[1-4])
 | 
			
		||||
    EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}')"
 | 
			
		||||
    PARTITION_NAME="p"
 | 
			
		||||
    LB_PRE="EMMC_"
 | 
			
		||||
    ;;
 | 
			
		||||
[hsv]d[a-z][1-4])
 | 
			
		||||
    EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-1)}')"
 | 
			
		||||
    PARTITION_NAME=""
 | 
			
		||||
    LB_PRE=""
 | 
			
		||||
    ;;
 | 
			
		||||
nvme?n?p[1-4])
 | 
			
		||||
    EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}')"
 | 
			
		||||
    PARTITION_NAME="p"
 | 
			
		||||
    ;;
 | 
			
		||||
*)
 | 
			
		||||
    tolog "Unable to recognize the disk type of ${ROOT_PTNAME}!" "1"
 | 
			
		||||
 | 
			
		||||
@ -60,12 +60,14 @@ case "${ROOT_PTNAME}" in
 | 
			
		||||
mmcblk?p[1-4])
 | 
			
		||||
    EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}')"
 | 
			
		||||
    PARTITION_NAME="p"
 | 
			
		||||
    LB_PRE="EMMC_"
 | 
			
		||||
    ;;
 | 
			
		||||
[hsv]d[a-z][1-4])
 | 
			
		||||
    EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-1)}')"
 | 
			
		||||
    PARTITION_NAME=""
 | 
			
		||||
    LB_PRE=""
 | 
			
		||||
    ;;
 | 
			
		||||
nvme?n?p[1-4])
 | 
			
		||||
    EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}')"
 | 
			
		||||
    PARTITION_NAME="p"
 | 
			
		||||
    ;;
 | 
			
		||||
*)
 | 
			
		||||
    tolog "Unable to recognize the disk type of ${ROOT_PTNAME}!" "1"
 | 
			
		||||
 | 
			
		||||
@ -61,12 +61,14 @@ case "${ROOT_PTNAME}" in
 | 
			
		||||
mmcblk?p[1-4])
 | 
			
		||||
    EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}')"
 | 
			
		||||
    PARTITION_NAME="p"
 | 
			
		||||
    LB_PRE="EMMC_"
 | 
			
		||||
    ;;
 | 
			
		||||
[hsv]d[a-z][1-4])
 | 
			
		||||
    EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-1)}')"
 | 
			
		||||
    PARTITION_NAME=""
 | 
			
		||||
    LB_PRE=""
 | 
			
		||||
    ;;
 | 
			
		||||
nvme?n?p[1-4])
 | 
			
		||||
    EMMC_NAME="$(echo ${ROOT_PTNAME} | awk '{print substr($1, 1, length($1)-2)}')"
 | 
			
		||||
    PARTITION_NAME="p"
 | 
			
		||||
    ;;
 | 
			
		||||
*)
 | 
			
		||||
    tolog "Unable to recognize the disk type of ${ROOT_PTNAME}!" "1"
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user