summaryrefslogtreecommitdiff
path: root/games/armagetronad/README
diff options
context:
space:
mode:
authorhollywoodb <hollywoodb@fastmail.fm>2010-05-11 14:28:17 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 14:28:17 +0200
commit56b0b438da719976cf8d651455ba5e14f7976867 (patch)
treed6d97cfb4136cf69bfe3cf3b58fd3d1bd7303da0 /games/armagetronad/README
parent809d6e39c57f0cf9f0835e4b73bd988b3b7da0bb (diff)
downloadslackbuilds-56b0b438da719976cf8d651455ba5e14f7976867.tar.gz
games/armagetronad: Initial import
Diffstat (limited to 'games/armagetronad/README')
-rw-r--r--games/armagetronad/README44
1 files changed, 44 insertions, 0 deletions
diff --git a/games/armagetronad/README b/games/armagetronad/README
new file mode 100644
index 0000000000..243d68d7f3
--- /dev/null
+++ b/games/armagetronad/README
@@ -0,0 +1,44 @@
+armagetronad (a Tron clone in 3D)
+
+A Tron 'Light Cycles' clone that offers up to 16 players, a highly
+advanced AI, and network/internet play in a full 3D environment
+
+This build includes the game client and Master server. It will install
+system-wide configuration into /etc/armagetron.
+
+Full documentation exists in /usr/doc/armagetronad-<version>/
+
+The armagetronad server initscript is stored as:
+/usr/share/games/armagetronad/scripts/rcd_master
+To use this script, symlink it to /etc/rc.d with this command:
+ln -s /usr/share/games/armagetronad/scripts/rcd_master /etc/rc.d/rc.armagetronad
+
+The armagetronad server system-wide install scripts enable the creation
+of a user called 'armagetronad' for use with the Master server. This
+user isn't created by default by this package. If you would like to
+create this user in the same fashion as the armagetronad system-wide
+install script, the user creation section is shown below. You may
+choose to use this by creating a script with the contents below or
+create a user manually.
+
+
+user=armagetronad
+
+if test -w /etc/passwd; then
+ echo "Creating user ${user}..."
+
+ if which useradd > /dev/null 2>&1; then
+ useradd ${user} || echo -e "\nWarning: unable to create user with 'useradd'. Giving up.\n"
+ else
+
+ if which pw > /dev/null 2>&1; then
+ pw useradd ${user} || echo "Warning: unable to create user with 'pw'. Giving up."
+ else
+ echo -e "\nWarning: unable to find suitable program to add user.\n"
+ fi
+
+ fi
+
+ else # no write acces to /etc/passwd
+ echo -e "\nWarning: no write access to /etc/passwd, can't add user.\n"
+fi