Commit b375ec03 authored by Franco Fichtner's avatar Franco Fichtner

firmware: remove spurious starting messages from backend scripts

parent 25f298ca
...@@ -36,8 +36,7 @@ fi ...@@ -36,8 +36,7 @@ fi
# Truncate upgrade progress file # Truncate upgrade progress file
: > ${PKG_PROGRESS_FILE} : > ${PKG_PROGRESS_FILE}
echo "***GOT REQUEST TO REINSTALL: $PACKAGE***" >> ${PKG_PROGRESS_FILE} echo "***GOT REQUEST TO INSTALL: $PACKAGE***" >> ${PKG_PROGRESS_FILE}
echo '***STARTING REINSTALL***' >> ${PKG_PROGRESS_FILE}
pkg install -y $PACKAGE >> ${PKG_PROGRESS_FILE} pkg install -y $PACKAGE >> ${PKG_PROGRESS_FILE}
pkg autoremove -y >> ${PKG_PROGRESS_FILE} pkg autoremove -y >> ${PKG_PROGRESS_FILE}
pkg clean -ya >> ${PKG_PROGRESS_FILE} pkg clean -ya >> ${PKG_PROGRESS_FILE}
......
#!/bin/sh #!/bin/sh
# Copyright (C) 2015 Franco Fichtner <franco@opnsense.org> # Copyright (C) 2015-2016 Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2014 Deciso B.V. # Copyright (C) 2014 Deciso B.V.
# All rights reserved. # All rights reserved.
# #
...@@ -37,6 +37,5 @@ fi ...@@ -37,6 +37,5 @@ fi
: > ${PKG_PROGRESS_FILE} : > ${PKG_PROGRESS_FILE}
echo "***GOT REQUEST TO LOCK: $PACKAGE***" >> ${PKG_PROGRESS_FILE} echo "***GOT REQUEST TO LOCK: $PACKAGE***" >> ${PKG_PROGRESS_FILE}
echo '***STARTING LOCK***' >> ${PKG_PROGRESS_FILE}
pkg lock -y $PACKAGE >> ${PKG_PROGRESS_FILE} pkg lock -y $PACKAGE >> ${PKG_PROGRESS_FILE}
echo '***DONE***' >> ${PKG_PROGRESS_FILE} echo '***DONE***' >> ${PKG_PROGRESS_FILE}
#!/bin/sh #!/bin/sh
# Copyright (C) 2015 Franco Fichtner <franco@opnsense.org> # Copyright (C) 2015-2016 Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2014 Deciso B.V. # Copyright (C) 2014 Deciso B.V.
# All rights reserved. # All rights reserved.
# #
...@@ -37,7 +37,6 @@ fi ...@@ -37,7 +37,6 @@ fi
: > ${PKG_PROGRESS_FILE} : > ${PKG_PROGRESS_FILE}
echo "***GOT REQUEST TO REINSTALL: $PACKAGE***" >> ${PKG_PROGRESS_FILE} echo "***GOT REQUEST TO REINSTALL: $PACKAGE***" >> ${PKG_PROGRESS_FILE}
echo '***STARTING REINSTALL***' >> ${PKG_PROGRESS_FILE}
pkg install -yf $PACKAGE >> ${PKG_PROGRESS_FILE} pkg install -yf $PACKAGE >> ${PKG_PROGRESS_FILE}
pkg autoremove -y >> ${PKG_PROGRESS_FILE} pkg autoremove -y >> ${PKG_PROGRESS_FILE}
pkg clean -ya >> ${PKG_PROGRESS_FILE} pkg clean -ya >> ${PKG_PROGRESS_FILE}
......
...@@ -37,7 +37,6 @@ fi ...@@ -37,7 +37,6 @@ fi
: > ${PKG_PROGRESS_FILE} : > ${PKG_PROGRESS_FILE}
echo "***GOT REQUEST TO REINSTALL: $PACKAGE***" >> ${PKG_PROGRESS_FILE} echo "***GOT REQUEST TO REINSTALL: $PACKAGE***" >> ${PKG_PROGRESS_FILE}
echo '***STARTING REINSTALL***' >> ${PKG_PROGRESS_FILE}
pkg remove -y $PACKAGE >> ${PKG_PROGRESS_FILE} pkg remove -y $PACKAGE >> ${PKG_PROGRESS_FILE}
pkg autoremove -y >> ${PKG_PROGRESS_FILE} pkg autoremove -y >> ${PKG_PROGRESS_FILE}
pkg clean -ya >> ${PKG_PROGRESS_FILE} pkg clean -ya >> ${PKG_PROGRESS_FILE}
......
#!/bin/sh #!/bin/sh
# Copyright (C) 2015 Franco Fichtner <franco@opnsense.org> # Copyright (C) 2015-2016 Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2014 Deciso B.V. # Copyright (C) 2014 Deciso B.V.
# All rights reserved. # All rights reserved.
# #
...@@ -37,6 +37,5 @@ fi ...@@ -37,6 +37,5 @@ fi
: > ${PKG_PROGRESS_FILE} : > ${PKG_PROGRESS_FILE}
echo "***GOT REQUEST TO UNLOCK: $PACKAGE***" >> ${PKG_PROGRESS_FILE} echo "***GOT REQUEST TO UNLOCK: $PACKAGE***" >> ${PKG_PROGRESS_FILE}
echo '***STARTING UNLOCK***' >> ${PKG_PROGRESS_FILE}
pkg unlock -y $PACKAGE >> ${PKG_PROGRESS_FILE} pkg unlock -y $PACKAGE >> ${PKG_PROGRESS_FILE}
echo '***DONE***' >> ${PKG_PROGRESS_FILE} echo '***DONE***' >> ${PKG_PROGRESS_FILE}
#!/bin/sh #!/bin/sh
# Copyright (C) 2015 Franco Fichtner <franco@opnsense.org> # Copyright (C) 2015-2016 Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2014 Deciso B.V. # Copyright (C) 2014 Deciso B.V.
# All rights reserved. # All rights reserved.
# #
...@@ -39,7 +39,6 @@ fi ...@@ -39,7 +39,6 @@ fi
echo "***GOT REQUEST TO UPGRADE: $PACKAGE***" >> ${PKG_PROGRESS_FILE} echo "***GOT REQUEST TO UPGRADE: $PACKAGE***" >> ${PKG_PROGRESS_FILE}
echo '***STARTING UPGRADE***' >> ${PKG_PROGRESS_FILE}
if [ "$PACKAGE" == "all" ]; then if [ "$PACKAGE" == "all" ]; then
# update all installed packages # update all installed packages
opnsense-update -p >> ${PKG_PROGRESS_FILE} opnsense-update -p >> ${PKG_PROGRESS_FILE}
......
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