sadm_osupdate.sh

Updated: 2018/10/23
O/S : Linux

 
NAME

sadm_osupdate.sh   -   Perform Operating System update on the current server.

 
SYNOPSIS

sadm_osupdate.sh     [ -v -h  ]    [ -d   0-9  ]    [ -r ]   

 
DESCRIPTION
  • You can schedule execution of this script via the web interface.
  • The result of the O/S update can always by seen on the O/S Update Schedule Status page
  • Script is use to apply all pending Operating System update on the current system.
  • This script can be executed only by the 'root' user (or with sudo).
  • No question will be asked when running this script.
  • It support Redhat, CentOS, Fedora, Ubuntu, Debian (family) and Raspbian.
  • To prevent a SADMIN server outage, no automatic reboot will be performed on the SADMIN server.
  • Remember that every SADMIN script produce a 'log' and an 'rch' file, that you can consult afterward.
    • The name of these files are shown at the screen output (See examples below).
    • The content of these files can be viewed from the command line or from the web interface.

    Example of screen output when running the script on a CentOS system..
    Update perform on a CentOS system.


    Example of screen output when running the script on a Ubuntu system..
    Example while running O/S update on a Ubuntu system.


    Example of screen output when running the script on a Raspberry Pi system..



 
OPTIONS

-d
Specify debug level (0-9).
Value of 0 indicate that no debug information is to be displayed.
-r
Reboot server after update.
- If some update were applied.
- If 'Reboot after O/S Update' field is set to "Yes" for the server in Database.
-h
Display this help and exit.
-v
Output version information and exit.



REQUIREMENTS
 
EXIT STATUS
[0]    An exit status of zero indicates success
[1]    Failure is indicated by a nonzero value, typically ‘1’.

 
AUTHOR
Jacques Duplessis (jacques.duplessis@sadmin.ca.).
Any suggestions or bug report can be sent at http://www.sadmin.ca/support.php

 
COPYRIGHT
Copyright © 2018 Free Software Foundation, Inc. License GPLv3+:
    - GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software, you are free to change and redistribute it.
There is NO WARRANTY to the extent permitted by law.

 
SEE ALSO

 
INDEX
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
REQUIREMENTS
EXIT STATUS
AUTHOR
COPYRIGHT
SEE ALSO

Copyright © 2015-2019 - www.sadmin.ca - Suggestions, Questions or Report a problem at support@sadmin.ca