diff options
author | Justus Winter <justus@gnupg.org> | 2016-10-27 11:50:46 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-11-01 16:32:47 +0100 |
commit | db94feece63e18364dd2c9228a6ef3452fe22cc2 (patch) | |
tree | 15a2b399f0d40c6dbb2bbdfd22ebe2d33025b6c1 /nfsd/loop.c | |
parent | 8c0e65b6b2db9946153ed736e66d4e613875deb6 (diff) |
boot: Add a default boot script.
* boot/boot.c (OPT_BOOT_SCRIPT): New macro.
(options): Add flag '--boot-script'.
(args_doc): Do not expect the script as positional argument.
(parse_opt): Handle new flag, do not expect the script as positional
argument.
(read_boot_script): New function.
(default_boot_script): New variable containing a boot script capable
of booting contemporary Hurd systems.
(main): Use the new function to read the boot script, or fall back to
using the builtin one.
Diffstat (limited to 'nfsd/loop.c')
0 files changed, 0 insertions, 0 deletions