Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

swclock: Use the same file for both saving and loading #560

Closed
wants to merge 1 commit into from

Commits on Dec 7, 2022

  1. swclock init: Same file for both save and load

    If no path is specified on the command-line when calling swclock, it
    defaults to saving and loading the last shutdown time from a file named
    shutdowntime.
    
    Looking at the included init script for swclock, /etc/init.d/swclock, it
    is calling swclock with no path defined when saving the time:
      swclock --save
    
    But providing the path of @sbindir@/openrc-run when loading the time:
      swclock --warn @sbindir@/openrc-run
    
    This results in the out of the box experience of /etc/init.d/swclock
    being ineffective.
    snh committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    6738f57 View commit details
    Browse the repository at this point in the history