Changeset a44ae577 for bootscripts/lfs/init.d/console
- Timestamp:
- 09/07/2021 09:01:23 PM (3 years ago)
- Branches:
- 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 408fb782
- Parents:
- e7fb2ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/console
re7fb2ca ra44ae577 33 33 [ -r /etc/sysconfig/console ] && . /etc/sysconfig/console 34 34 35 is_true() 35 is_true() 36 36 { 37 37 [ "$1" = "1" ] || [ "$1" = "yes" ] || [ "$1" = "true" ] … … 44 44 # See if we need to do anything 45 45 if [ -z "${KEYMAP}" ] && [ -z "${KEYMAP_CORRECTIONS}" ] && 46 [ -z "${FONT}" ] && [ -z "${LEGACY_CHARSET}" ] && 47 ! is_true "${UNICODE}"; then 46 [ -z "${FONT}" ] && [ -z "${LEGACY_CHARSET}" ] && 47 ! is_true "${UNICODE}"; then 48 48 exit 0 49 49 fi … … 86 86 loadkeys ${KEYMAP} >/dev/null 2>&1 || 87 87 failed=1 88 88 89 89 [ -z "${KEYMAP_CORRECTIONS}" ] || 90 90 loadkeys ${KEYMAP_CORRECTIONS} >/dev/null 2>&1 || … … 98 98 # If any of the commands above failed, the trap at the 99 99 # top would set $failed to 1 100 ( exit $failed ) 100 ( exit $failed ) 101 101 evaluate_retval 102 102 103 103 exit $failed 104 ;; 104 ;; 105 105 106 *) 106 *) 107 107 echo "Usage: ${0} {start}" 108 exit 1 109 ;; 108 exit 1 109 ;; 110 110 esac 111 111
Note:
See TracChangeset
for help on using the changeset viewer.