forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'openwrt:main' into main
- Loading branch information
Showing
23 changed files
with
207 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 0 additions & 45 deletions
45
package/system/apk/patches/0020-pkg-truncate-apkv3-description-to-256-bytes.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
[ -e "/etc/config/ubihealthd" ] && exit 0 | ||
[ ! -e "/sys/class/ubi" ] && exit 0 | ||
|
||
touch "/etc/config/ubihealthd" | ||
|
||
for ubidev in /sys/class/ubi/*/total_eraseblocks; do | ||
ubidev="${ubidev%/*}" | ||
ubidev="${ubidev##*/}" | ||
uci batch <<EOF | ||
set ubihealthd.$ubidev=ubi-device | ||
set ubihealthd.$ubidev.device="/dev/$ubidev" | ||
set ubihealthd.$ubidev.enable=1 | ||
EOF | ||
done | ||
|
||
uci commit ubihealthd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh /etc/rc.common | ||
|
||
START=99 | ||
|
||
USE_PROCD=1 | ||
PROG=/usr/sbin/ubihealthd | ||
|
||
ubihealthd_instance() { | ||
local cfg="$1" | ||
local device interval enable | ||
|
||
config_get_bool enable "$cfg" "enable" 1 | ||
[ "$enable" = "1" ] || return 0 | ||
|
||
config_get device "$cfg" "device" | ||
config_get interval "$cfg" "interval" | ||
|
||
procd_open_instance | ||
procd_set_param command "$PROG" -f -d "$device" | ||
[ -n "$interval" ] && procd_append_param command -i "$interval" | ||
procd_close_instance | ||
} | ||
|
||
start_service() { | ||
config_load ubihealthd | ||
config_foreach ubihealthd_instance ubi-device | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 7 additions & 8 deletions
15
...-support-for-Airoha-EN7851-watchdog.patch → ...-support-for-Airoha-EN7851-watchdog.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
...523-map-io-region-in-a-single-block.patch → ...523-map-io-region-in-a-single-block.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.