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