2020-07-11 18:13:20 +02:00
|
|
|
#!/usr/bin/env bash
|
2020-05-30 00:01:28 +02:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
2011-11-28 16:28:03 +01:00
|
|
|
|
2012-02-03 15:13:37 +01:00
|
|
|
build() {
|
2012-05-16 20:52:55 +02:00
|
|
|
add_runscript
|
2011-11-28 16:28:03 +01:00
|
|
|
|
2012-02-03 14:58:01 +01:00
|
|
|
add_binary curl
|
2017-06-04 20:54:12 +02:00
|
|
|
|
2020-07-11 18:13:20 +02:00
|
|
|
add_file "$(readlink -f /etc/ssl/certs/ca-certificates.crt)" /etc/ssl/certs/ca-certificates.crt
|
2011-11-28 16:28:03 +01:00
|
|
|
}
|
|
|
|
|
2012-02-03 15:13:37 +01:00
|
|
|
help() {
|
2011-11-28 16:28:03 +01:00
|
|
|
cat<<HELPEOF
|
2011-12-03 22:20:43 +01:00
|
|
|
This hook loads the necessary modules for boot via PXE and HTTP.
|
2011-11-28 16:28:03 +01:00
|
|
|
HELPEOF
|
|
|
|
}
|