]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/w_scan-ipfire.patch
missed w_scan files
[ipfire-2.x.git] / src / patches / w_scan-ipfire.patch
1 --- w_scan_start.sh.org 2008-01-05 19:58:44.000000000 +0100
2 +++ w_scan_start.sh 2008-04-12 18:18:19.000000000 +0200
3 @@ -224,7 +224,7 @@
4 echo "Checking for ct-vdr style startscript.."
5 if [ -e /etc/init.d/vdr ]; then # c't-vdr
6 echo_yes
7 - $(/etc/init.d/vdr stop)
8 + /etc/init.d/vdr stop
9 stopped=true
10 else
11 echo_no
12 @@ -692,9 +692,9 @@
13 echo ""
14 echo -e -n $NORMAL
15 else
16 - if [ -d /etc/vdr ]; then
17 - mv /etc/vdr/channels.conf /etc/vdr/channels.conf-backup$DATE
18 - cp channels.conf-$DATE /etc/vdr/channels.conf
19 + if [ -d /opt/vdr/etc ]; then
20 + mv /opt/vdr/etc/channels.conf /opt/vdr/etc/channels.conf-backup$DATE
21 + cp channels.conf-$DATE /opt/vdr/etc/channels.conf
22 fi
23 if [ -d /var/lib/vdr ]; then
24 mv /var/lib/vdr/channels.conf /var/lib/vdr/channels.conf-backup$DATE