mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
move opnsense service code
This commit is contained in:
parent
638c6daf2a
commit
61e8c7287c
@ -380,8 +380,8 @@ if [ "$PLATFORM" = "nanobsd" -o "$PLATFORM" = "pfSense" ]; then
|
||||
/usr/local/bin/php -q /usr/local/etc/ecl.php
|
||||
fi
|
||||
|
||||
chmod u+rx /usr/local/opnsense/check_reload_status.py
|
||||
/usr/bin/nice -n20 /usr/local/opnsense/check_reload_status.py
|
||||
chmod u+rx /usr/local/opnsense/service/check_reload_status.py
|
||||
/usr/bin/nice -n20 /usr/local/opnsense/service/check_reload_status.py
|
||||
sleep 1 # give check_reload_status some time to load to prevent missing socket
|
||||
|
||||
# let the PHP-based configuration subsystem set up the system now
|
||||
|
||||
@ -433,7 +433,7 @@ pfSenseupgrade)
|
||||
ps -a | grep "check_reload_status" | awk '{print $1;}' | kill -9
|
||||
echo "Installing $IMG." >> /conf/upgrade_log.txt 2>&1
|
||||
cd / && /usr/bin/tar --exclude=./dev -xzUPf $IMG >> /conf/upgrade_log.txt 2>&1
|
||||
/usr/bin/nice -n20 /usr/local/opnsense/check_reload_status.py
|
||||
/usr/bin/nice -n20 /usr/local/opnsense/service/check_reload_status.py
|
||||
echo "Image installed $IMG." >> /conf/upgrade_log.txt 2>&1
|
||||
|
||||
# process custom image if its passed
|
||||
|
||||
@ -51,7 +51,7 @@ fi
|
||||
PHPMODULES="standard"
|
||||
# Config read/write
|
||||
PHPMODULES="$PHPMODULES xml libxml dom"
|
||||
PHPMODULES="$PHPMODULES SimpleXML xmlreader xmlwriter"
|
||||
PHPMODULES="$PHPMODULES simplexml xmlreader xmlwriter"
|
||||
# Downloading via HTTP/FTP (pkg mgr, etc)
|
||||
PHPMODULES="$PHPMODULES curl date"
|
||||
# Internationalization
|
||||
@ -79,7 +79,8 @@ PHPMODULES="$PHPMODULES shmop"
|
||||
PHPMODULES="$PHPMODULES zlib"
|
||||
# SQLlite & Database
|
||||
PHPMODULES="$PHPMODULES spl"
|
||||
PHPMODULES="$PHPMODULES PDO"
|
||||
PHPMODULES="$PHPMODULES pdo"
|
||||
PHPMODULES="$PHPMODULES pdo_sqlite"
|
||||
PHPMODULES="$PHPMODULES sqlite3"
|
||||
# RADIUS
|
||||
PHPMODULES="$PHPMODULES radius"
|
||||
@ -128,7 +129,7 @@ post_max_size = 200M
|
||||
html_errors = Off
|
||||
zlib.output_compression = Off
|
||||
zlib.output_compression_level = 1
|
||||
include_path = ".:/usr/local/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg"
|
||||
include_path = ".:/usr/local/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/opnsense/mvc"
|
||||
display_startup_errors=on
|
||||
error_reporting = E_ERROR
|
||||
display_errors=on
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user