blob: 6e35b16f4395efe1501959faa10e2abe38bccf9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
check() {
# Tell dracut that this module should only be included if it is required
# explicitly.
return 255
}
depends() {
echo dnbd3-rootfs
}
install() {
# config.tgz unpacking happens in pre-pivot/90
# TODO: BEFORE "copy network files", as we modify /etc/hosts
inst "$moddir/hooks/s3-ssl-sat.sh" \
/usr/local/bin/s3-ssl-sat.sh
inst_simple "${moddir}/services/s3-ssl-sat.service" \
"${systemdsystemunitdir}/s3-ssl-sat.service"
mkdir --parents \
"${initdir}/${systemdsystemunitdir}/initrd.target.wants"
ln_r "${systemdsystemunitdir}/s3-ssl-sat.service" \
"${systemdsystemunitdir}/initrd.target.wants/s3-ssl-sat.service"
}
|