-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store options from KCL in a file for easy sourcing
zfsbootmenu-parse-commandline.sh defines several configuration variables based on KCL arguments; zfsbootmenu-exec.sh originally exported those to the environment for use by zfsbootmenu-countdown.sh and zfsbootmenu.sh. This works fine if zfsbootmenu.sh is only ever run in a local session. When connecting via SSH and launching zfsbootmenu from the shell, these configuration variables are not accessible. The simple solution is to write the configuration into a file that can be sourced by both zfsbootmenu-countdown.sh and zfsbootmenu.sh to populate their environments regardless of the way they are called. The boot-environment list has been renamed from "env" to "bootenvs" to avoid confusion with the "environment" file. Closes: #165.
- Loading branch information
Showing
3 changed files
with
28 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters