summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2024-02-25 18:21:20 +0100
committerHolger Paradies <retabell@gmx.de>2024-02-25 18:21:20 +0100
commitf29acd7e353508ad6b1cfc419315ebb6ebd90960 (patch)
treea93b0d5765731b2ea9786324f16130f31c3730ec
parent0a4134d8773b68f6f714017a33c8aa3687d0e833 (diff)
downloadkanotix-f29acd7e353508ad6b1cfc419315ebb6ebd90960.zip
kanotix-f29acd7e353508ad6b1cfc419315ebb6ebd90960.tar.gz
Disable hpaio
-rwxr-xr-xconfig/chroot_local-hooks/03-speedfire-fixes5
-rwxr-xr-xconfig/chroot_local-hooks/hotfixes.sh20
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 <<EOT > /etc/vim/vimrc.local
-syntax on
-set background=dark
-set showmatch " Show matching brackets.
-set pastetoggle=<F10>
-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 <<EOT > /etc/vim/vimrc.local
+syntax on
+set background=dark
+set showmatch " Show matching brackets.
+set pastetoggle=<F10>
+EOT
+fi