qemush : passage au pur POSIX !
This commit is contained in:
parent
50fba776c8
commit
8e96494fed
1 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# version=0.8.0
|
||||
#!/usr/bin/env sh
|
||||
# version=0.9.0
|
||||
|
||||
# Re-exec the script as qemu via sudo (only if needed)
|
||||
[ "$(whoami)" != qemu ] && exec sudo -E -H -u qemu -- "$0" "$@"
|
||||
|
@ -10,7 +10,6 @@ PATH="${HOME}/launchers:${HOME}/bin:${PATH}"
|
|||
# Aliases
|
||||
alias ls='ls --color=auto'
|
||||
alias exec='exec '
|
||||
shopt -s expand_aliases
|
||||
|
||||
# Set a restrictive umask to make sure qemu user files are private
|
||||
umask 7027
|
||||
|
|
Loading…
Reference in a new issue