# 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
#!/bin/sh
-. /etc/functions.sh
+. /lib/functions.sh
apply_config() {
config_get init "$1" init
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
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
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
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
keepconfig=(keep_avail and http.formvalue("keepcfg") == "1")
} )
end
-end
\ No newline at end of file
+end