import babelbox-etch.tgz (thanks, bubulle)
SHA-1:b7fcbd9076903bb98474a7b6c5b4d860ece09bcd, from <http://d-i.alioth.debian.org/pub/etch/babelbox/babelbox.tgz>
This commit is contained in:
commit
635d04b29f
13 changed files with 598 additions and 0 deletions
28
preseed_late
Executable file
28
preseed_late
Executable file
|
@ -0,0 +1,28 @@
|
|||
#! /bin/sh
|
||||
|
||||
# Script run at the end of the installation (as set in preseed.cfg); prepares
|
||||
# to boot into the installed system, briefly log into Gnome and then reboot.
|
||||
|
||||
set -e
|
||||
|
||||
TAB=" "
|
||||
|
||||
: >/target/BABELBOX
|
||||
cp /hd-media/srv/babelbox/cronscript /target/root
|
||||
echo "@reboot root /root/cronscript; reboot" >>/target/etc/crontab
|
||||
|
||||
mount /dev/discs/disc0/part1 /hd-media -o remount,rw
|
||||
|
||||
sed -i "s/^default[[:space:]].*$/default${TAB}${TAB}3/" /hd-media/boot/grub/menu.lst
|
||||
|
||||
if [ -d /target/etc/gdm ] ; then
|
||||
# Enable automatic login (chroot because of bug in busybox sed)
|
||||
chroot /target sed -i "/^\[daemon\]/a\AutomaticLoginEnable=true\nAutomaticLogin=debian" /etc/gdm/gdm.conf
|
||||
fi
|
||||
|
||||
# This is probably no longer needed
|
||||
#if [ -d /target/etc/X11 ] ; then
|
||||
# cp /hd-media/srv/babelbox/xorg.conf /target/etc/X11/
|
||||
#fi
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue