summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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