summaryrefslogtreecommitdiffstats
path: root/modules.d/00systemd-network-management/module-setup.sh
blob: f8ba35180cd2d2e7c0d06da9fc24bf1db04c9efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# This file is part of dracut.
# SPDX-License-Identifier: GPL-2.0-or-later

# Prerequisite check(s) for module.
check() {

    # Return 255 to only include the module, if another module requires it.
    return 255

}

# Module dependency requirements.
depends() {

    # This module has external dependency on other module(s).
    echo systemd systemd-hostnamed systemd-networkd systemd-resolved systemd-timedated systemd-timesyncd
    # Return 0 to include the dependent module(s) in the initramfs.
    return 0

}