diff options
| author | Michael Neves | 2013-05-14 17:48:47 +0200 |
|---|---|---|
| committer | Michael Neves | 2013-05-14 17:48:47 +0200 |
| commit | bcfc484650756840f9a107f185cec88d18a25c5d (patch) | |
| tree | 7aeacec94aea32846d5f039c50678c005646286f | |
| parent | make .sh executalble in vmware/lib (diff) | |
| parent | Merge branch 'master' of simonslx:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-bcfc484650756840f9a107f185cec88d18a25c5d.tar.gz tm-scripts-bcfc484650756840f9a107f185cec88d18a25c5d.tar.xz tm-scripts-bcfc484650756840f9a107f185cec88d18a25c5d.zip | |
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
| -rwxr-xr-x | data/install_server.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/data/install_server.sh b/data/install_server.sh index 597d056b..f8026026 100755 --- a/data/install_server.sh +++ b/data/install_server.sh @@ -1,6 +1,12 @@ #!/bin/sh -TOOLS="git squashfs-tools rsync lighttpd tftpd" +if [ $# -lt 1 ]; then + echo "Usage: $0 <this server's ip>" + exit 1 +fi +SERVER_IP="$1" + +TOOLS="git squashfs-tools rsync lighttpd tftpd gcc binutils make" for tool in $TOOLS; do echo " ###### Installiere $tool ##########" @@ -150,7 +156,7 @@ if [ "$ERR" -gt 0 ]; then exit 1 fi -cp ipxelinux.0 /srv/openslx/tftp +cp ipxelinux.0 /srv/openslx/tftp/ echo " ##### Klone das mltk repository ########" |
