|
|
|
|
117
|
fi
|
117
|
fi
|
118
|
|
118
|
|
119
|
function argument_checks {
|
119
|
function argument_checks {
|
120
|
- SYNTAX='./install-freedombone.sh [domain] [username] [subdomain code]'
|
|
|
|
|
120
|
+ SYNTAX='./install-freedombone.sh [domain] [username] [subdomain code] [system ty[e]'
|
121
|
if [ ! -d /home/$MY_USERNAME ]; then
|
121
|
if [ ! -d /home/$MY_USERNAME ]; then
|
122
|
echo "There is no user '$MY_USERNAME' on the system. Use 'adduser $MY_USERNAME' to create the user."
|
122
|
echo "There is no user '$MY_USERNAME' on the system. Use 'adduser $MY_USERNAME' to create the user."
|
123
|
exit 1
|
123
|
exit 1
|