Fix 'Tracing...' text output still stating functions instead of ash_functions where they are called from

This commit is contained in:
Thierry Laurion 2023-03-31 15:43:33 -04:00
parent 429d8bbead
commit 8dbe85ddaf
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93

View File

@ -27,7 +27,7 @@ TRACE() {
}
preserve_rom() {
TRACE "Under /etc/functions:preserve_rom"
TRACE "Under /etc/ash_functions:preserve_rom"
new_rom="$1"
old_files=`cbfs -t 50 -l 2>/dev/null | grep "^heads/"`
@ -44,7 +44,7 @@ preserve_rom() {
}
recovery() {
TRACE "Under /etc/functions:recovery"
TRACE "Under /etc/ash_functions:recovery"
echo >&2 "!!!!! $*"
# Remove any temporary secret files that might be hanging around
@ -76,19 +76,19 @@ recovery() {
}
pause_recovery() {
TRACE "Under /etc/functions:pause_recovery"
TRACE "Under /etc/ash_functions:pause_recovery"
read -p $'!!! Hit enter to proceed to recovery shell !!!\n'
recovery $*
}
combine_configs() {
TRACE "Under /etc/functions:combine_configs"
TRACE "Under /etc/ash_functions:combine_configs"
cat /etc/config* > /tmp/config
}
enable_usb()
{
TRACE "Under /etc/functions:enable_usb"
TRACE "Under /etc/ash_functions:enable_usb"
#insmod ehci_hcd prior of uhdc_hcd and ohci_hcd to suppress dmesg warning
if ! lsmod | grep -q ehci_hcd; then
insmod /lib/modules/ehci-hcd.ko \