mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
Fix 'Tracing...' text output still stating functions instead of ash_functions where they are called from
This commit is contained in:
parent
429d8bbead
commit
8dbe85ddaf
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user