# -t : Set plymouth theme.
# -j : Enable Japanese.
# -k <kernel> : Set kernel name.
+ # -o <os name> : Set os name.
# -u <username> : Set live user name.
# -x : Enable debug mode.
# -r : Enable rebuild.
addition_options="${addition_options} -r"
fi
- share_options="-p ${password} -k ${kernel} -u ${username}"
+ share_options="-p '${password}' -k '${kernel}' -u '${username}' -o '${os_name}'"
# X permission
rebuild=false
japanese=false
username='alter'
+os_name="Alter Linux"
# Parse arguments
-while getopts 'p:bt:k:rxju:' arg; do
+while getopts 'p:bt:k:rxju:o:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
r) rebuild=true ;;
j) japanese=true;;
u) username="${OPTARG}" ;;
+ o) os_name="${OPTARG}" ;;
x) set -xv ;;
esac
done
rebuild=false
japanese=false
username='alter'
+os_name="Alter Linux"
# Parse arguments
-while getopts 'p:bt:k:rxju:' arg; do
+while getopts 'p:bt:k:rxju:o:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
r) rebuild=true ;;
j) japanese=true;;
u) username="${OPTARG}" ;;
+ o) os_name="${OPTARG}" ;;
x) set -xv ;;
esac
done
rebuild=false
japanese=false
username='alter'
+os_name="Alter Linux"
# Parse arguments
-while getopts 'p:bt:k:rxju:' arg; do
+while getopts 'p:bt:k:rxju:o:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
r) rebuild=true ;;
j) japanese=true;;
u) username="${OPTARG}" ;;
+ o) os_name="${OPTARG}" ;;
x) set -xv ;;
esac
done
rebuild=false
japanese=false
username='alter'
+os_name="Alter Linux"
# Parse arguments
-while getopts 'p:bt:k:rxju:' arg; do
+while getopts 'p:bt:k:rxju:o:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
r) rebuild=true ;;
j) japanese=true;;
u) username="${OPTARG}" ;;
+ o) os_name="${OPTARG}" ;;
x) set -xv ;;
esac
done
rebuild=false
japanese=false
username='alter'
+os_name="Alter Linux"
# Parse arguments
-while getopts 'p:bt:k:rxju:' arg; do
+while getopts 'p:bt:k:rxju:o:' arg; do
case "${arg}" in
p) password="${OPTARG}" ;;
b) boot_splash=true ;;
r) rebuild=true ;;
j) japanese=true;;
u) username="${OPTARG}" ;;
+ o) os_name="${OPTARG}" ;;
x) set -xv ;;
esac
done