Magellan Linux

Annotation of /trunk/mlivecdbuild/profiles/knoppix/prepare_custom

Parent Directory Parent Directory | Revision Log Revision Log


Revision 361 - (hide annotations) (download)
Mon Mar 27 21:23:55 2006 UTC (18 years, 1 month ago) by niro
File size: 978 byte(s)
knoppix profile

1 niro 361 #!/bin/bash
2    
3     # setup default kde behavior
4     install -m 0644 $(get_profile custom-files/kdmrc) ${CDCHROOTDIR}/usr/share/config/kdm/ || die
5     install -m 0644 $(get_profile custom-files/kdeglobals) ${CDCHROOTDIR}/usr/share/config/ || die
6     install -m 0644 $(get_profile custom-files/kdesktoprc) ${CDCHROOTDIR}/usr/share/config/ || die
7     install -m 0644 $(get_profile custom-files/kickerrc) ${CDCHROOTDIR}/usr/share/config/ || die
8     install -m 0644 $(get_profile custom-files/ktiprc) ${CDCHROOTDIR}/usr/share/config/ || die
9     install -m 0644 $(get_profile custom-files/kpersonalizerrc) ${CDCHROOTDIR}/usr/share/config/ || die
10    
11     # language locales
12     install -m 0644 $(get_profile custom-files/35locale) ${CDCHROOTDIR}/etc/env.d/ || die
13     chroot ${CDCHROOTDIR} env-rebuild
14    
15     # add magellan user
16     chroot ${CDCHROOTDIR} useradd -m -g users -G audio,wheel,cdrom,video,cdrw,usb,games -s /bin/bash magellan
17     # set password to 'magellan'
18     chroot ${CDCHROOTDIR} usermod -p $(openssl passwd -1 magellan) magellan