From f29acd7e353508ad6b1cfc419315ebb6ebd90960 Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Sun, 25 Feb 2024 18:21:20 +0100 Subject: Disable hpaio --- config/chroot_local-hooks/03-speedfire-fixes | 5 +++++ config/chroot_local-hooks/hotfixes.sh | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/config/chroot_local-hooks/03-speedfire-fixes b/config/chroot_local-hooks/03-speedfire-fixes index deafc7a..871009d 100755 --- a/config/chroot_local-hooks/03-speedfire-fixes +++ b/config/chroot_local-hooks/03-speedfire-fixes @@ -63,5 +63,10 @@ EOF cd - fi +# annoying workaround for hpaio (disable prompt for root password in installed system) +# or install avahi-daemon to solve this issue + if [ -e /etc/sane.d/dll.d/hplip ]; then + sed -i 's/^hpaio/#hpaio/' /etc/sane.d/dll.d/hplip + fi fi diff --git a/config/chroot_local-hooks/hotfixes.sh b/config/chroot_local-hooks/hotfixes.sh index fa0a60c..0943dbd 100755 --- a/config/chroot_local-hooks/hotfixes.sh +++ b/config/chroot_local-hooks/hotfixes.sh @@ -10,16 +10,6 @@ if [ -f /etc/powersave/events ]; then pidof powersaved >/dev/null && /etc/init.d/powersaved restart fi -# vim tuning -if [ -d /etc/vim ]; then - rm -f /etc/vim/vimrc.local -cat < /etc/vim/vimrc.local -syntax on -set background=dark -set showmatch " Show matching brackets. -set pastetoggle= -EOT -fi # fix kdm/gdm/xdm/wdm startup for x in kdm gdm xdm wdm lightdm; do @@ -63,3 +53,13 @@ auto lo iface lo inet loopback EOT +# vim tuning +if [ -d /etc/vim ]; then + rm -f /etc/vim/vimrc.local +cat < /etc/vim/vimrc.local +syntax on +set background=dark +set showmatch " Show matching brackets. +set pastetoggle= +EOT +fi -- cgit v1.0