|
|
|
@ -6,8 +6,10 @@
@@ -6,8 +6,10 @@
|
|
|
|
|
check() { |
|
|
|
|
|
|
|
|
|
# If the binary(s) requirements are not fulfilled the module can't be installed |
|
|
|
|
require_binaries timedatectl || return 1 |
|
|
|
|
require_binaries "$systemdutildir"/systemd-timedated || return 1 |
|
|
|
|
require_binaries \ |
|
|
|
|
timedatectl \ |
|
|
|
|
"$systemdutildir"/systemd-timedated \ |
|
|
|
|
|| return 1 |
|
|
|
|
|
|
|
|
|
# Return 255 to only include the module, if another module requires it. |
|
|
|
|
return 255 |
|
|
|
@ -18,7 +20,7 @@ check() {
@@ -18,7 +20,7 @@ check() {
|
|
|
|
|
depends() { |
|
|
|
|
|
|
|
|
|
# This module has external dependency on other module(s). |
|
|
|
|
echo dbus systemd |
|
|
|
|
echo dbus |
|
|
|
|
# Return 0 to include the dependent module(s) in the initramfs. |
|
|
|
|
return 0 |
|
|
|
|
|
|
|
|
@ -38,6 +40,6 @@ install() {
@@ -38,6 +40,6 @@ install() {
|
|
|
|
|
if [[ $hostonly ]]; then |
|
|
|
|
inst_multiple -H -o \ |
|
|
|
|
"$systemdsystemconfdir"/systemd-timedated.service \ |
|
|
|
|
"$systemdsystemconfdir"/systemd-timedated.service/*.conf |
|
|
|
|
"$systemdsystemconfdir/systemd-timedated.service/*.conf" |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|