virtual-appliance/kde/postinstall

15 lines
348 B
Plaintext
Raw Normal View History

2010-07-11 03:18:58 +02:00
#!/bin/sh
CHROOT="$1"
APPLIANCE="`dirname $0`"
# Copy modified kdm config files
cp "$APPLIANCE"/kdmrc "$APPLIANCE"/Xaccess "$CHROOT"/usr/share/config/kdm
# enable hal
chroot "$CHROOT" rc-update add dbus default
# enable kdm
sed -i 's/^DISPLAYMANAGER=.*/DISPLAYMANAGER="kdm"/' "$CHROOT"/etc/conf.d/xdm
chroot "$CHROOT" rc-update add xdm default