| Server IP : 103.75.185.95 / Your IP : 216.73.217.162 Web Server : nginx/1.30.0 System : Linux cs-linux-20260509085757017 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : cuuhootoxema ( 1215) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/initramfs-tools/hooks/ |
Upload File : |
#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
# Hook to load keymaps into the initramfs if requested by KEYMAP="y"
if [ "$KEYMAP" != "y" ] && [ "$KEYMAP" != "Y" ]; then
exit 0
fi
if [ ! -x /bin/setupcon ]; then
echo "setupcon is missing. Please install the 'console-setup' package."
exit 0
fi
. /usr/share/initramfs-tools/hook-functions
# Tell setupcon to copy/create the files it needs.
setupcon --setup-dir "$DESTDIR"
# Copy additional files that setupcon needs. We assume they are
# executables.
while read -r file; do
copy_exec "$file"
done < "$DESTDIR/morefiles"
rm -f "$DESTDIR/morefiles"
exit 0