| Server IP : 13.126.101.145 / Your IP : 216.73.217.47 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.17 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/console-setup/ |
Upload File : |
#!/bin/sh
do_configure=no
case "`uname 2>/dev/null`" in
*FreeBSD*)
do_configure=yes
;;
*) # assuming Linux with udev
# Skip only the first time (i.e. when the system boots)
[ ! -f /run/console-setup/boot_completed ] || do_configure=yes
mkdir -p /run/console-setup
> /run/console-setup/boot_completed
[ /etc/console-setup/cached_setup_terminal.sh \
-nt /etc/default/keyboard ] || do_configure=yes
[ /etc/console-setup/cached_setup_terminal.sh \
-nt /etc/default/console-setup ] || do_configure=yes
;;
esac
if [ "$do_configure" = no ]; then
:
else
if [ -f /etc/default/locale ]; then
# In order to permit auto-detection of the charmap when
# console-setup-mini operates without configuration file.
. /etc/default/locale
export LANG
fi
setupcon --save
fi