don't use symlink to /lib/functions.sh

Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
Jo-Philipp Wich 2012-12-20 15:01:04 +00:00
parent bf25765406
commit 8cfa5cc7c5
6 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -1,5 +1,5 @@
#!/bin/sh
. /etc/functions.sh
. /lib/functions.sh
apply_config() {
config_get init "$1" init

View 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

View 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

View 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

View 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