diff options
Diffstat (limited to 'dracut/vmklive-display-manager-autologin.sh')
-rw-r--r-- | dracut/vmklive-display-manager-autologin.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 |