blob: 8e79f756ce62f7313ba9098b3ff9e2caf7a6d75a (
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
|
#!/bin/bash
###################################################################
#Script to configure your system based off the values in /etc/systemconfig
#Any changes made to config files will be removed when systemconfig.sh is run
#
#JM
MYTH_RUN_STATUS="1"
echo $@ >/tmp/systemconfig.call
echo "----------------------start of systemconfig $@ ----------------------"
. /etc/profile
. $MV_ROOT/bin/networkconfig.sh
postfix=`cat ${BASE}/usr/local/share/mythtv/.releasetype`
# for i in larch liblarch larch-profiles larch-live
# do
# pacman -Q $i
# if [ $? == 0 ]
# then
# pacman -R $i --noconfirm
# fi
# done
#
# sed -i '/larch/d' /etc/pacman.conf
systemconfig.py -m $@
rc=$?
echo "systemconfig.py exit code $rc" | tee -a /tmp/systemconfig.call
exit $rc
|