|
Apache/2.2.15 (CentOS) Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 uid=48(apache) gid=48(apache) groups=48(apache) server ip : 104.21.65.202 | your ip : 10.244.126.0 safemode OFF > / usr / share / dracut / modules.d / 97biosdevname / |
| Filename | /usr/share/dracut/modules.d/97biosdevname/install |
| Size | 440 |
| Permission | rwxr-xr-x |
| Owner | apache |
| Create time | 23-Dec-2025 17:41 |
| Last modified | 19-Jun-2018 21:13 |
| Last accessed | 22-Apr-2026 16:38 |
| Actions | edit | rename | delete | download (gzip) |
| View | text | code | image |
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
dracut_install biosdevname
inst_rules 71-biosdevname.rules
inst_hook pre-trigger 30 "$moddir/parse-biosdevname.sh"
# set the default state according to the config
if [[ -e /etc/sysconfig/network ]]; then
. /etc/sysconfig/network
fi
if [[ "$BIOSDEVNAME" = "yes" ]]; then
echo "biosdevname=1" >> ${initdir}/etc/cmdline
fi
# ex: ts=8 sw=4 sts=4 et filetype=sh
dracut_install biosdevname
inst_rules 71-biosdevname.rules
inst_hook pre-trigger 30 "$moddir/parse-biosdevname.sh"
# set the default state according to the config
if [[ -e /etc/sysconfig/network ]]; then
. /etc/sysconfig/network
fi
if [[ "$BIOSDEVNAME" = "yes" ]]; then
echo "biosdevname=1" >> ${initdir}/etc/cmdline
fi