Final edits
- Make all cgi-bin and init files executable - Move NTP contribution fix from package --> to be appart of sdxpinn-patch - Edited ntp fi location - Added additional service triggers to primary service quecmanager-services
This commit is contained in:
0
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_cell_locking
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_cell_locking
Normal file → Executable file
6
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_services
Normal file → Executable file
6
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecmanager_services
Normal file → Executable file
@@ -32,6 +32,9 @@ start_service() {
|
|||||||
procd_set_param stderr 1
|
procd_set_param stderr 1
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
echo "Signal Metrics Logger started"
|
echo "Signal Metrics Logger started"
|
||||||
|
service quecmanager_cell_locking start
|
||||||
|
service quecprofiles start
|
||||||
|
service quecwatch start
|
||||||
|
|
||||||
echo "All QuecManager services Started"
|
echo "All QuecManager services Started"
|
||||||
}
|
}
|
||||||
@@ -39,4 +42,7 @@ start_service() {
|
|||||||
stop_service() {
|
stop_service() {
|
||||||
# procd will handle stopping all instances automatically
|
# procd will handle stopping all instances automatically
|
||||||
echo "Stopping QuecManager services."
|
echo "Stopping QuecManager services."
|
||||||
|
service quecmanager_cell_locking stop
|
||||||
|
service quecprofiles stop
|
||||||
|
service quecwatch stop
|
||||||
}
|
}
|
||||||
0
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecprofiles
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecprofiles
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecwatch
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/quecwatch
Normal file → Executable file
10
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/make_all_sh_unix.sh
Executable file
10
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/make_all_sh_unix.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#/bin/bash
|
||||||
|
|
||||||
|
# Check if the script is run as root. If not, rerun with sudo.
|
||||||
|
if [ "$(id -u)" -ne 0 ]; then
|
||||||
|
echo "Script is not running as root. Re-executing with sudo..."
|
||||||
|
exec sudo "$0" "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
find ./ -type f -name "*.sh" -exec dos2unix {} +
|
||||||
|
exit 0
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#/bin/bash
|
||||||
|
|
||||||
|
# Check if the script is run as root. If not, rerun with sudo.
|
||||||
|
if [ "$(id -u)" -ne 0 ]; then
|
||||||
|
echo "Script is not running as root. Re-executing with sudo..."
|
||||||
|
exec sudo "$0" "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
find ./ -type f -exec chmod +x {} \;
|
||||||
|
exit 0
|
||||||
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_commands.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_commands.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_macs.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/fetch_macs.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/mtu.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/mtu.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/ttl.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/advance/ttl.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/at_queue_client.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/at_queue_client.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/fetch_data.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/at_cmd/fetch_data.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/auth.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/auth.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/get_cell_lock.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/get_cell_lock.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/scheduled_cell_locking.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-locking/scheduled_cell_locking.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/apn-profiles/delete-apn-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/apn-profiles/delete-apn-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/apn-profiles/fetch-apn-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/apn-profiles/fetch-apn-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/apn-profiles/save-apn-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/apn-profiles/save-apn-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/imei-profiles/delete-imei-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/imei-profiles/delete-imei-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/imei-profiles/fetch-imei-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/imei-profiles/fetch-imei-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/imei-profiles/save-imei-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/imei-profiles/save-imei-profile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/scheduled_cell_locking.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/scheduled_cell_locking.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_delete.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_delete.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_inbox.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_inbox.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/cell-settings/sms/sms_send.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan_worker.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/cell_scan_worker.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/check_scan.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/fetch_mccmnc.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/fetch_mccmnc.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/network_info.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/cell_scanner/network_info.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/keep_alive.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/keep_alive.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/disable-quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/disable-quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/enable-quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/enable-quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/reset-quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/experimental/quecwatch/reset-quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/heartbeat.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/heartbeat.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/check_net.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/check_net.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_data_usage.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_data_usage.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_hw_details.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_hw_details.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_signal_metrics.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/fetch_signal_metrics.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping_latency.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/home/ping_latency.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/mcc-mnc-list.json
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/mcc-mnc-list.json
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/check_status.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/check_status.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/list_profiles.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/list_profiles.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_create.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_create.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_delete.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_delete.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_edit.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/profiles/quec_profile_edit.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/device-uptime.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/device-uptime.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/force-rerun.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/quecmanager/settings/force-rerun.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/at_queue_manager.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/at_queue_manager.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quec_profile_daemon.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quec_profile_daemon.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecprofile.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/quecwatch.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/scheduled_cell_locking.sh
Normal file → Executable file
0
ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/services/scheduled_cell_locking.sh
Normal file → Executable file
3
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/ntp.init → missing/ntp.init
Normal file → Executable file
3
ipk-source/sdxpinn-quecmanager-beta/root/etc/init.d/ntp.init → missing/ntp.init
Normal file → Executable file
@@ -7,13 +7,12 @@ USE_PROCD=1
|
|||||||
start_service() {
|
start_service() {
|
||||||
if [ ! -f /etc/config/system ]; then
|
if [ ! -f /etc/config/system ]; then
|
||||||
touch /etc/config/system
|
touch /etc/config/system
|
||||||
|
fi
|
||||||
sh /etc/init.d/ntp.config.h
|
sh /etc/init.d/ntp.config.h
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command user ntp
|
procd_set_param command user ntp
|
||||||
procd_set_param command group ntp
|
procd_set_param command group ntp
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
fi
|
|
||||||
echo "Starting ntp config service..."
|
echo "Starting ntp config service..."
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user