]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
aws: Hide pakfire update output
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2018 10:50:14 +0000 (11:50 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2018 10:51:53 +0000 (11:51 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/helper/aws-setup

index d40534f9a0c9974eadde4fda7be952e847b06605..893246ba1689bccec0076d71bc850a8dd6948411 100644 (file)
@@ -115,10 +115,10 @@ import_aws_configuration() {
        # Download the user-data script only on the first boot
        if [ ! -e "/var/ipfire/main/firstsetup_ok" ]; then
                # Initialize pakfire
-               /etc/init.d/pakfire start
+               /etc/init.d/pakfire start &>/dev/null
 
                # Install all available updates
-               pakfire update && pakfire upgrade -y
+               ( pakfire update && pakfire upgrade -y ) &>/dev/null
 
                # If an update requires a reboot, we will do it
                if [ -e "/var/run/need_reboot" ]; then