mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 16:46:17 +00:00
09c4314a05
removed 7z and made setup page for AMS
24 lines
No EOL
630 B
Bash
24 lines
No EOL
630 B
Bash
#!/bin/bash
|
|
rm log.log 2> /dev/null
|
|
|
|
# Setup the client
|
|
|
|
# Get the client directory
|
|
client_directory=`cat cfg/site.cfg | grep "client_directory" | sed -e 's/client_directory//' | sed -e 's/ //g' | sed -e 's/=//g'`
|
|
|
|
# Get the client setup directories
|
|
client_setup_directories=`cat cfg/directories.cfg | grep "client_setup_directory" | sed -e 's/client_setup_directory//' | sed -e 's/ //g' | sed -e 's/=//g'`
|
|
|
|
# Log error
|
|
echo > log.log
|
|
|
|
# Create the file
|
|
|
|
# For each directory
|
|
for i in $client_setup_directories ; do
|
|
# Create the directory
|
|
mkdir $client_directory/$i 2> /dev/null
|
|
|
|
# Idle
|
|
./idle.bat
|
|
done |