GithubHelp home page GithubHelp logo

unodan / suse-update Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 35 KB

Update openSUSE tumbleweed with the newest packages (bash)

Shell 100.00%
opensuse opensuse-update tumbleweed opensuse-leep bash-script updater

suse-update's Introduction

suse-update

This script will update openSUSE Leep/Tumbleweed with the newest packages and is normaly run as a cron job.
Enabled repositories can be refreshed and updates done none-interactively (automatically).

Log files will be over written unless the -k option is used. The -k option accepts a positive integer for the number of log files to keep, older log files are deleted.

The -a option must be used with the -k option, archiving happens when the number of log files equals the value supplied to the -k option. Once a log file is achieved it's deleted from the logs directory.

After updating is done the system can be restart by using the -s option followed by the number of seconds to wait before restarting, allowing the user time to save their work or cancel the restarting process if needed. The system is only restarted if running processes are using deleted files that were updated during the update process.

You can force the system restart by using the -f option.

When the -w option is supplied, users are sent an audio beep and a spoken message letting them know that the system is going to be restarted.


Example: suse-update -v -s300 -k30 output maximum information, restart the system 300 seconds after updates are finished and keep the latest 30 log files.\n"



Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.