Commit e40c87ca authored by Franco Fichtner's avatar Franco Fichtner

firmware: also clean downloaded packages after install

parent 783363d0
...@@ -44,6 +44,7 @@ echo ...@@ -44,6 +44,7 @@ echo
# upgrade all packages if possible # upgrade all packages if possible
pkg upgrade -y pkg upgrade -y
pkg autoremove -y pkg autoremove -y
pkg clean -y
echo echo
......
...@@ -42,6 +42,7 @@ if [ -z "$pkg_running" ]; then ...@@ -42,6 +42,7 @@ if [ -z "$pkg_running" ]; then
# update all installed packages # update all installed packages
pkg upgrade -y >> ${PKG_PROGRESS_FILE} pkg upgrade -y >> ${PKG_PROGRESS_FILE}
pkg autoremove -y >> ${PKG_PROGRESS_FILE} pkg autoremove -y >> ${PKG_PROGRESS_FILE}
pkg clean -y >> ${PKG_PROGRESS_FILE}
# restart the web server # restart the web server
/usr/local/etc/rc.restart_webgui >> ${PKG_PROGRESS_FILE} /usr/local/etc/rc.restart_webgui >> ${PKG_PROGRESS_FILE}
# if we can update base, we'll do that as well # if we can update base, we'll do that as well
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment