don't use symlink to /lib/functions.sh
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
parent
bf25765406
commit
8cfa5cc7c5
6 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
. /etc/functions.sh
|
||||
. /lib/functions.sh
|
||||
|
||||
apply_config() {
|
||||
config_get init "$1" init
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue