mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
fix wakeup from console
some device / monitor combinations have a problem waking up from consoleblank
This commit is contained in:
parent
3d6aee54e3
commit
333da3ad62
1 changed files with 6 additions and 5 deletions
|
@ -1,13 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#############################################################
|
#############################################################
|
||||||
# T-Pot Community Edition - disable splash boot permanently #
|
# T-Pot Community Edition - disable splash boot #
|
||||||
# Ubuntu server 14.04, x64 #
|
# and consoleblank permanently #
|
||||||
|
# Ubuntu server 14.04.1, x64 #
|
||||||
# #
|
# #
|
||||||
# v0.04 by mo, 2014-11-28 #
|
# v0.05 by mo, DTAG, 2014-12-18 #
|
||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
# Let's comment out the "quiet splash" options and update grub
|
# Let's replace "quiet splash" options and update grub
|
||||||
sed -i.bak 's#GRUB_CMDLINE_LINUX_DEFAULT#\#GRUB_CMDLINE_LINUX_DEFAULT#' /etc/default/grub
|
sed -i.bak 's#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"#GRUB_CMDLINE_LINUX_DEFAULT="consoleblank=0"#' /etc/default/grub
|
||||||
update-grub
|
update-grub
|
||||||
|
|
||||||
# Let's move the install script to rc.local and reboot
|
# Let's move the install script to rc.local and reboot
|
||||||
|
|
Loading…
Reference in a new issue