Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Jun 21st, 2018 60 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. if echo "$LOCALE" | /bin/grep -qi utf ; then
  2.   stat_busy "Setting Consoles to UTF-8 mode"                                                                            
  3.   # UTF-8 consoles are default since 2.6.24 kernel
  4.   # this code is needed not only for older kernels,
  5.   # but also when user has set vt.default_utf8=0 but LOCALE is *.UTF-8.
  6.   for i in /dev/tty[0-9]*; do
  7.     /usr/bin/kbd_mode -u < ${i}
  8.     printf "\033%%G" > ${i}
  9.   done
  10.   # the $CONSOLE check helps us avoid this when running scripts from cron
  11.   echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\033%%G"; fi' >>/etc/profile.d/
  12.   stat_done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand