Fixed usages warning.
This commit is contained in:
parent
08fda27fed
commit
e24640ab31
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
# Proper usage checks.
|
# Proper usage checks.
|
||||||
[ -z "$1" ] && echo "Usage:
|
[ -z "$1" ] && echo "Usage:
|
||||||
artix-luks-base-install /dev/sdX encrytption_pw" && exit
|
artix-luks-base-install /dev/sdX encrytption_pw root_pw" && exit
|
||||||
[ -z "$(ls /sys/firmware/efi/efivars)" ] && echo "EFI only installation; Please boot with EFI." && exit
|
[ -z "$(ls /sys/firmware/efi/efivars)" ] && echo "EFI only installation; Please boot with EFI." && exit
|
||||||
[ "$(id -u)" != 0 ] && echo "Root privileges required." && exit
|
[ "$(id -u)" != 0 ] && echo "Root privileges required." && exit
|
||||||
! "$(connmanctl state | grep -qe online -qe ready)" &&
|
! "$(connmanctl state | grep -qe online -qe ready)" &&
|
||||||
|
Loading…
Reference in New Issue
Block a user