diff options
Diffstat (limited to 'dracut')
-rw-r--r-- | dracut/vmklive-adduser.sh | 2 | ||||
-rw-r--r-- | dracut/vmklive-conf.sh | 2 | ||||
-rw-r--r-- | dracut/vmklive-display-manager-autologin.sh | 2 | ||||
-rw-r--r-- | dracut/vmklive-polkit.sh | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/dracut/vmklive-adduser.sh b/dracut/vmklive-adduser.sh index 06a525f..e242529 100644 --- a/dracut/vmklive-adduser.sh +++ b/dracut/vmklive-adduser.sh @@ -2,6 +2,8 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh +type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh + USERNAME=$(getarg live.user) [ -z "$USERNAME" ] && USERNAME=anon diff --git a/dracut/vmklive-conf.sh b/dracut/vmklive-conf.sh index 05a9ab0..bb63e61 100644 --- a/dracut/vmklive-conf.sh +++ b/dracut/vmklive-conf.sh @@ -2,6 +2,8 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh +type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh + KEYMAP=$(getarg vconsole.keymap) FONT=$(getarg vconsole.font) FONT_MAP=$(getarg vconsole.font.map) diff --git a/dracut/vmklive-display-manager-autologin.sh b/dracut/vmklive-display-manager-autologin.sh index bac3bc2..53a6a43 100644 --- a/dracut/vmklive-display-manager-autologin.sh +++ b/dracut/vmklive-display-manager-autologin.sh @@ -2,6 +2,8 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh +type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh + USERNAME=$(getarg live.user) [ -z "$USERNAME" ] && USERNAME=anon diff --git a/dracut/vmklive-polkit.sh b/dracut/vmklive-polkit.sh index 3962147..c6dfd7f 100644 --- a/dracut/vmklive-polkit.sh +++ b/dracut/vmklive-polkit.sh @@ -2,6 +2,8 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh +type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh + USERNAME=$(getarg live.user) [ -z "$USERNAME" ] && USERNAME=anon |