Permalink
Browse files

Instalelr added

1 parent e6352f7 commit bbd592418b439b6c2b3a3ca1b740c90ea74edeb7 @sayanriju committed Sep 12, 2010
Showing with 21 additions and 0 deletions.
  1. +21 −0 installer
View
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+
+if [ $UID -ne 0 ];then
+ echo "This installer script must be run as root"
+ echo "Aborting."
+ exit 1
+fi
+
+chmod -v a+x usr/bin/*
+cp -rv --preserve=mode {etc/,usr/} /
+mkdir -pv /usr/share/docs/tbs
+cp -pv README* /usr/share/docs/tbs/
+
+echo "Finished with installing Tiny Bash Server"
+echo "You can start it using tbs.start [/path/to/config/file]"
+echo "Read the documentation(s) under /usr/share/docs/tbs/ for further details"
+exit 0
+
+
+
+

0 comments on commit bbd5924

Please sign in to comment.