w_scan: change path to channels.conf for vdr 2.x.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 20 Apr 2013 20:18:22 +0000 (22:18 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 20 Apr 2013 20:18:22 +0000 (22:18 +0200)
config/w_scan/w_scan_start
lfs/w_scan

index 324d7f9dd2810ba5c41eeae411ef86abf4ec72c3..91e1a46f6a30bc1f667b40a145b5e7d8f939b914 100755 (executable)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2012  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2013  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -19,7 +19,8 @@
 #                                                                             #
 ###############################################################################
 ###############################################################################
-# w_scan_start for IPFire v 1.00 - 2012-11-15 Arne Fitzenreiter - inital vers.#
+# w_scan_start for IPFire v 1.01 - 2013-04-20 Arne Fitzenreiter - path vdr 2  #
+#                                - 2012-11-15 Arne Fitzenreiter - inital vers.#
 ###############################################################################
 
 err_msg ()
@@ -127,9 +128,9 @@ echo Results saved to w_scan-$(date +%Y%m%d%H%M).channels.conf
 if [ -e /opt/pakfire/db/installed/meta-vdr ]; then
        yes_no "Install new channels-conf for VDR."
        # Backup old channels conf...
-       cp -f /opt/vdr/etc/channels.conf \
-               /opt/vdr/etc/channels.conf.backup$(date +%Y%m%d%H%M)
-       cp -f /tmp/channels.conf /opt/vdr/etc/
+       cp -f /etc/vdr/channels.conf \
+               /etc/vdr/channels.conf.backup$(date +%Y%m%d%H%M)
+       cp -f /tmp/channels.conf /etc/vdr/
        yes_no "Should i start the VDR?"
        clear
        /etc/init.d/vdr start
index 7df4b42d85e867d5c8fe5deaf5cf5501ea22b0a3..a18a08a02c26e57db8534ecda72134887c992310 100644 (file)
@@ -33,7 +33,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = w_scan
-PAK_VER    = 3
+PAK_VER    = 4
 
 DEPS       = ""