#!/bin/bash # setup default kde behavior install -m 0644 $(get_profile custom-files/kdmrc) ${CDCHROOTDIR}/usr/share/config/kdm/ || die install -m 0644 $(get_profile custom-files/kdeglobals) ${CDCHROOTDIR}/usr/share/config/ || die install -m 0644 $(get_profile custom-files/kdesktoprc) ${CDCHROOTDIR}/usr/share/config/ || die install -m 0644 $(get_profile custom-files/kickerrc) ${CDCHROOTDIR}/usr/share/config/ || die install -m 0644 $(get_profile custom-files/ktiprc) ${CDCHROOTDIR}/usr/share/config/ || die install -m 0644 $(get_profile custom-files/kpersonalizerrc) ${CDCHROOTDIR}/usr/share/config/ || die # language locales install -m 0644 $(get_profile custom-files/35locale) ${CDCHROOTDIR}/etc/env.d/ || die chroot ${CDCHROOTDIR} env-rebuild # add magellan user chroot ${CDCHROOTDIR} useradd -m -g users -G audio,wheel,cdrom,video,cdrw,usb,games -s /bin/bash magellan # set password to 'magellan' chroot ${CDCHROOTDIR} usermod -p $(openssl passwd -1 magellan) magellan