From 7f7ef37cff2314160ab6e1167f4323bd2078fff5 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 23 Jun 2017 10:32:56 +0200 Subject: [PATCH] Set legal banner with URL + latin2 character set --- basic.sh | 6 +++++- basic/etc/default/console-setup | 16 +++++++++++++++ basic/etc/issue | 36 +++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 basic/etc/default/console-setup create mode 100644 basic/etc/issue diff --git a/basic.sh b/basic.sh index d009228..41f6972 100644 --- a/basic.sh +++ b/basic.sh @@ -13,4 +13,8 @@ update-initramfs -u # Set grub options cp basic/etc/default/grub /etc/default/grub -update-grub \ No newline at end of file +update-grub + +# Set legal banner + URL +cp basic/etc/default/console-setup /etc/default/console-setup +cp basic/etc/issue /etc/issue \ No newline at end of file diff --git a/basic/etc/default/console-setup b/basic/etc/default/console-setup new file mode 100644 index 0000000..24bda85 --- /dev/null +++ b/basic/etc/default/console-setup @@ -0,0 +1,16 @@ +# CONFIGURATION FILE FOR SETUPCON + +# Consult the console-setup(5) manual page. + +ACTIVE_CONSOLES="/dev/tty[1-6]" + +CHARMAP="UTF-8" + +CODESET="Lat2" +FONTFACE="Fixed" +FONTSIZE="8x16" + +VIDEOMODE= + +# The following is an example how to use a braille font +# FONT='lat9w-08.psf.gz brl-8x8.psf' diff --git a/basic/etc/issue b/basic/etc/issue new file mode 100644 index 0000000..8b0a41a --- /dev/null +++ b/basic/etc/issue @@ -0,0 +1,36 @@ + + _______ _ _ + |__ __| | | | | + | |_ __ __ _| | __ _| | __ _ + | | '__/ _` | |/ _` | |/ _` | + | | | | (_| | | (_| | | (_| | + |_|_| \\__,_|_|\\__,_|_|\\__,_| + + + + + UPOZORNĚNÍ: Neoprávněný přístup k tomuto zařízení je zakázán. + Musíte mít výslovné oprávnění k přístupu nebo konfiguraci tohoto zařízení. + Neoprávněné pokusy a kroky k přístupu nebo používání tohoto systému mohou mít + za následek občanské nebo trestní sankce. + + + CAUTION: Unauthozired access to this device is prohibited. + You must have explicit, authorized permission to access or configure this + device. Unauthorized attempts and actions to access or use this system may + result in civil or criminal penalties. + + + + + + Pro přístup k aplikacím otevřete URL http://\4/ ve Vašem + internetovém prohlížeči. + + + + + + + +