Open JustOneMoreBlock opened 7 years ago
#!/bin/bash
usage()
{
cat <<EOF
Options:
--multicraft_key LICENSE Add your license key automatically.
EOF
}
while [ -n "$1" ]; do
if [ "$1" = "--multicraft_license" ]; then
usage
shift
fi
read license;
if [ "$multicraft_license" = "$license" ]; then
echo "$license" >> /home/root/multicraft/multicraft.key;
fi
UNTESTED
args