K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / initramfs-tools / hooks /
server ip : 172.67.156.115

your ip : 172.69.130.116

H O M E


Filename/usr/share/initramfs-tools/hooks/console_setup
Size1.14 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified29-Jan-2014 21:39
Last accessed05-Jul-2025 20:32
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#! /bin/sh -e

PREREQ="kbd|console_tools"

prereqs () {
echo "$PREREQ"
}

case $1 in
prereqs)
prereqs
exit 0
;;
esac

. /usr/share/initramfs-tools/hook-functions
[ -r /etc/default/keyboard ] || exit 0
[ -r /etc/default/console-setup ] || exit 0
. /etc/default/console-setup # also sources /etc/default/keyboard

# Copy console-setup configuration
mkdir -p "$DESTDIR/etc/default"
cp -p /etc/default/keyboard "$DESTDIR/etc/default"
cp -p /etc/default/console-setup "$DESTDIR/etc/default"

# Assume setupcon --save has been run
if [ -f "$FONT" ]; then
FONT="/etc/console-setup/${FONT##*/}"
FONT="${FONT%.gz}"
else
FONT="/etc/console-setup/$CODESET-$FONTFACE$FONTSIZE.psf"
fi
if [ -f "$FONT" ]; then
mkdir -p "$DESTDIR${FONT%/*}"
cp -p "$FONT" "$DESTDIR$FONT"
fi
if [ -f "$ACM" ]; then
ACM="/etc/console-setup/${ACM##*/}"
ACM="${ACM%.gz}"
else
ACM="/etc/console-setup/$CHARMAP.acm"
fi
if [ -f "$ACM" ]; then
mkdir -p "$DESTDIR${ACM%/*}"
cp -p "$ACM" "$DESTDIR$ACM"
fi
if [ -f /etc/console-setup/cached.kmap.gz ]; then
mkdir -p "$DESTDIR/etc/console-setup"
cp -p /etc/console-setup/cached.kmap.gz \
"$DESTDIR/etc/console-setup/cached.kmap.gz"
fi

exit 0