MTD 248-645A Bedienungsanleitung Seite 280

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 347
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 279
Linux From Scratch - Version 7.0
260
log_failure_msg()
{
echo -n -e "${@}"
echo -e "${SET_COL}${BRACKET}[${FAILURE} FAIL ${BRACKET}]${NORMAL}"
timespec
echo -e "${STAMP} ${@} FAIL" >> ${BOOTLOG}
return 0
}
log_failure_msg2()
{
echo -n -e "${@}"
echo -e "${SET_COL}${BRACKET}[${FAILURE} FAIL ${BRACKET}]${NORMAL}"
echo "FAIL" >> ${BOOTLOG}
return 0
}
################################################################################
# log_warning_msg() #
# Usage: log_warning_msg ["message"] #
# #
# Purpose: Print a warning status message to the screen and #
# a boot log file. #
# #
# Return values: Not used #
################################################################################
log_warning_msg()
{
echo -n -e "${@}"
echo -e "${SET_COL}${BRACKET}[${WARNING} WARN ${BRACKET}]${NORMAL}"
timespec
echo -e "${STAMP} ${@} WARN" >> ${BOOTLOG}
return 0
}
################################################################################
# log_info_msg() #
# Usage: log_info_msg message #
# #
# Purpose: Print an information message to the screen and #
# a boot log file. Does not print a trailing newline character. #
# #
# Return values: Not used #
################################################################################
log_info_msg()
{
echo -n -e "${@}"
timespec
echo -n -e "${STAMP} ${@}" >> ${BOOTLOG}
return 0
}
log_info_msg2()
Seitenansicht 279
1 2 ... 275 276 277 278 279 280 281 282 283 284 285 ... 346 347

Kommentare zu diesen Handbüchern

Keine Kommentare