summaryrefslogtreecommitdiffstats
path: root/mltk
diff options
context:
space:
mode:
authorJonathan Bauer2013-07-31 19:05:27 +0200
committerJonathan Bauer2013-07-31 19:05:27 +0200
commit485f67a2bbaf45ac957b5d049f8337be625885cb (patch)
tree8dba148651a89b6ff4d03d09bafa6eadf7f4d670 /mltk
parent[pam] removed old data dir... (diff)
downloadtm-scripts-485f67a2bbaf45ac957b5d049f8337be625885cb.tar.gz
tm-scripts-485f67a2bbaf45ac957b5d049f8337be625885cb.tar.xz
tm-scripts-485f67a2bbaf45ac957b5d049f8337be625885cb.zip
[server] added new parameter for export target. Use: ./mltk server <ip> stage32 -e stage32 <config>. Added function in export_target to pack an archive with all the files found in activated modules of server/configs/<config>
Diffstat (limited to 'mltk')
-rwxr-xr-xmltk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mltk b/mltk
index 0e76b023..28578381 100755
--- a/mltk
+++ b/mltk
@@ -22,7 +22,7 @@ MLTK_PID="$$"
# Checking for needed development tools, compilers etc.
# Required: m4 make gcc g++ binutils
-DEVTOOLS="gcc c++ g++ make m4 strip git depmod patch" # 'strip' as marker for binutils
+DEVTOOLS="gcc c++ g++ make m4 strip git depmod patch mksquashfs" # 'strip' as marker for binutils
for i in $DEVTOOLS; do
which "$i" 2>/dev/null 1>&2 || { echo "Essential development tool $i not found - exiting."; exit 1; }
done
@@ -206,6 +206,8 @@ read_params() {
SERVER_EXPORT="1"
SERVER_EXPORT_TYPE="$1"
shift
+ SERVER_EXPORT_CONFIG="$1"
+ shift
continue
;;
-n)