summaryrefslogtreecommitdiffstats
path: root/build_tools/larch8/larch0/profiles/linhes-remote-stable-i686/post_process/modify_chroot.sh
blob: 4b9195930f1783603a110877cd9b6e6b9a333a83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
echo "larch5" > /etc/hostname
useradd -m -s /bin/bash mythtv -G audio,video,optical,storage,users
/usr/sbin/groupadd -g 20 utmp
cp -rvpf /.post_process/home/mythtv  /home/
cp -rvpf /.post_process/home/mythtv/.fluxbox /root
cp -vpf /.post_process/nouveau.conf /etc/modprobe.d/nouveau.conf
chown -R mythtv.mythtv /home/mythtv/
chown -R mythtv.mythtv /myth

cp -f /.post_process/hosts.allow /etc/hosts.allow
cp -f /.post_process/rc.conf /etc/rc.conf
#cp -f /.post_process/rc.shutdown /etc/rc.shutdown
cp -f /.post_process/menu.lst /boot/grub/menu.lst

cp -f /etc/skel/.bash* /root/
rm -f /etc/ssh/ssh_host*key*