Commit e40c87ca authored by Franco Fichtner's avatar Franco Fichtner

firmware: also clean downloaded packages after install

parent 783363d0
......@@ -44,6 +44,7 @@ echo
# upgrade all packages if possible
pkg upgrade -y
pkg autoremove -y
pkg clean -y
echo
......
......@@ -42,6 +42,7 @@ if [ -z "$pkg_running" ]; then
# update all installed packages
pkg upgrade -y >> ${PKG_PROGRESS_FILE}
pkg autoremove -y >> ${PKG_PROGRESS_FILE}
pkg clean -y >> ${PKG_PROGRESS_FILE}
# restart the web server
/usr/local/etc/rc.restart_webgui >> ${PKG_PROGRESS_FILE}
# 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