summaryrefslogtreecommitdiffstats
path: root/build_tools/clarch/larch/profiles/i586-RELEASE-REMOTE/post_process/tweak.sh
blob: 5c73cf4ba34d1fd0fe8f4c52386f0f14588a8961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash

useradd -m -s /bin/bash mythtv -G audio,video,optical,storage,users
echo 'setting mythtv password to "a" '
passwd mythtv <<EOF
a
a
EOF

echo 'setting root password to "a" '
passwd root <<EOF
a
a
EOF

#edit /home/mythtv/.xinitrc and uncomment exec fluxbox
cp -rvpf /.tweak/home/mythtv  /home/



chown -R mythtv.mythtv /home/mythtv/



cp -f /.tweak/hosts.allow /etc/hosts.allow
cp -f /.tweak/securetty /etc/securetty
cp -f /.tweak/rc.conf /etc/rc.conf
#cp -f rc.local /etc/rc.local
#cp -f locale.gen /etc/locale.gen

cp -f /.tweak/rc.shutdown /etc/rc.shutdown
cp -f /.tweak/menu.lst /boot/grub/menu.lst