aredn/files/usr/local/bin
Conrad Lara - KG6JEI 8ee8fbefe0 bugfix: Increase available memory during upgrade/install process
It is possible for the system to run out of memory when dealing
with large file uploads and installs.

As part of the upgrade procedure shutdown services that are not
essential for node operations to allow more memory for install
to take place.

Includes changes to linkled to indicate this new state as it will
be shutdown as part of the cleanup process.

Memory gain (approximate)

dropbear 100kb
linkled  200kb
logd     200kb
odhcp    100kb
snmpd    500kb
xinetd   100kb

Total(approximate): 1200kb (around %4 on 32mb devices)

This is somewhat similar to files/usr/local/bin/upgrade_kill_prep
except that it kills only a select group of services
so that the system can handle the file upload while
upgrade_kill_prep does the final system cleanup to run the full
upgrade.

ref AREDN->ticket:204

Change-Id: Ic6d3aa028725064a97c4723f6d9b36e1e51d87a7
2017-03-08 03:23:52 +00:00
..
aimer Rerand from BBHN to AREDN(TM) 2015-03-09 16:39:04 -07:00
bbhn-postupgrade bugfix: UI allows enabling mesh_gw when wan disabled or nat mode 2016-09-20 23:09:03 -07:00
bbhnrecoverymode Cleanup /usr/local/bin scripts to pass shellcheck 2016-06-18 04:52:08 +00:00
fccid Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00
firmwarecheck.sh bugfix:Correct Firmware not valid error when uploading a sysupgrade file 2015-03-21 23:03:24 -07:00
get_boardid bugfix: Add support to obtain boardid from more Ubiquiti devices 2016-09-30 20:41:33 -07:00
get_hardwaretype Cleanup /usr/local/bin scripts to pass shellcheck 2016-06-18 04:52:08 +00:00
get_model Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00
linkled bugfix: Increase available memory during upgrade/install process 2017-03-08 03:23:52 +00:00
mesh-firewall Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00
node-setup Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00
nvram-setup Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00
olsrd-config Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00
olsrd-namechange Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00
olsrd-namechange-loop Cleanup /usr/local/bin scripts to pass shellcheck 2016-06-18 04:52:08 +00:00
olsrd-watchdog Cleanup /usr/local/bin scripts to pass shellcheck 2016-06-18 04:52:08 +00:00
rssi_monitor bugfix: Typo in comment header for perl scripts 2016-12-23 16:45:47 -08:00
setpasswd Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00
snrlog bugfix: change charts to be time linear 2017-02-03 16:34:25 +00:00
spawn_sysupgrade Cleanup /usr/local/bin scripts to pass shellcheck 2016-06-18 04:52:08 +00:00
upgrade_kill_prep Cleanup /usr/local/bin scripts to pass shellcheck 2016-06-18 04:52:08 +00:00
uploadctlservices bugfix: Increase available memory during upgrade/install process 2017-03-08 03:23:52 +00:00
vtun_up Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00
wscan Sourcecode license text spelling correction. 2016-12-30 18:54:05 +00:00