don't use symlink to /lib/functions.sh
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 20 Dec 2012 15:01:04 +0000 (15:01 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 20 Dec 2012 15:01:04 +0000 (15:01 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
applications/luci-pbx/root/etc/init.d/pbx-asterisk
libs/core/root/sbin/luci-reload
modules/admin-full/luasrc/controller/admin/system.lua
modules/admin-mini/luasrc/controller/mini/system.lua
modules/failsafe/luasrc/controller/failsafe/failsafe.lua
modules/niu/luasrc/controller/niu/system.lua

index 0c41833..99663a9 100755 (executable)
@@ -17,7 +17,7 @@
 #    You should have received a copy of the GNU General Public License
 #    along with luci-pbx.  If not, see <http://www.gnu.org/licenses/>.
 
-. /etc/functions.sh
+. /lib/functions.sh
 
 START=60
 
index 4bcac04..cc41da2 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
 
 apply_config() {
        config_get init "$1" init
index 1087cf8..55ad01c 100644 (file)
@@ -189,7 +189,7 @@ function action_flashops()
        local function image_supported()
                -- XXX: yay...
                return ( 0 == os.execute(
-                       ". /etc/functions.sh; " ..
+                       ". /lib/functions.sh; " ..
                        "include /lib/upgrade; " ..
                        "platform_check_image %q >/dev/null"
                                % image_tmp
index 519c15b..71b5b63 100644 (file)
@@ -81,7 +81,7 @@ function action_upgrade()
        local function image_supported()
                -- XXX: yay...
                return ( 0 == os.execute(
-                       ". /etc/functions.sh; " ..
+                       ". /lib/functions.sh; " ..
                        "include /lib/upgrade; " ..
                        "platform_check_image %q >/dev/null"
                                % tmpfile
index c37fef5..1da3438 100644 (file)
@@ -53,7 +53,7 @@ function action_flashops()
        local function image_supported()
                -- XXX: yay...
                return ( 0 == os.execute(
-                       ". /etc/functions.sh; " ..
+                       ". /lib/functions.sh; " ..
                        "include /lib/upgrade; " ..
                        "platform_check_image %q >/dev/null"
                                % image_tmp
index 593a448..127a311 100644 (file)
@@ -127,7 +127,7 @@ function upgrade()
        local function image_supported()
                -- XXX: yay...
                return ( 0 == os.execute(
-                       ". /etc/functions.sh; " ..
+                       ". /lib/functions.sh; " ..
                        "include /lib/upgrade; " ..
                        "platform_check_image %q >/dev/null"
                                % tmpfile
@@ -262,4 +262,4 @@ function upgrade()
                        keepconfig=(keep_avail and http.formvalue("keepcfg") == "1")
                } )
        end     
-end
\ No newline at end of file
+end