This file is indexed.

/usr/games/tinymux-install is in tinymux 2.10.1.14-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
#!/bin/sh
#  Program: mux-install
#  Version: 0.0.1
#  Author: Ervin Hearn III (Noltar) <noltar@korongil.net>
#  Date: Thu, 11 Sep 2003 18:04:43 -0400.
#  Copyright:
#
#    This program is free software; you can redistribute it and/or modify it
#    under the terms of the "Artistic License" which comes with Debian.
#
#    THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
#    WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
#    OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
#    On Debian GNU/Linux systems, the complete text of the Artistic License
#    can be found in `/usr/share/common-licenses/Artistic'.
#
#  Description:
#
#    This program installs the tinymux server for the user in the directory
#    from which it is ran. It provides all configuration, data, and script
#    files necessary for the user to initiate and run an instance of the
#    tinymux server process, netmux.
#
#  History:
#   0.0.1  Initial Release.

NAME=tinymux-install
VERSION=0.0.1
PKGDIR=`pwd`/tinymux
DSTDIR=$PKGDIR/game
SRCDIR=/usr/lib/tinymux/game
SHRDIR=/usr/share/tinymux/game
DWNDIR=''


################################################################
#
# 0. Check options

case "$1" in
  '')

    ################################################################
    #
    # 1. Install tinymux
    #

    #
    # 1.2 Helpers
    #

    mkdstlns()
    {
      while [ $1 ]; do
      ln -s $SRCDIR/$1
      shift
      done
    }

    mklns()
    {
      while [ $1 ]; do
      ln -s $SRCDIR/$DWNDIR/$1
      shift
      done
    }

    mkshrlns()
    {
      while [ $1 ]; do
      ln -s $SHRDIR/$DWNDIR/$1
      shift
      done
    }

    mkcps()
    {
      while [ $1 ]; do 
      cp $SRCDIR/$DWNDIR/$1 .
      shift
      done
     }

    mkshrcps()
    {
      while [ $1 ]; do 
      cp $SHRDIR/$DWNDIR/$1 .
      shift
      done
     }

     mkcdir()
     {
       cd $DSTDIR
       mkdir -p $1
       cd $1
       DWNDIR=$1
     }

     echo -n "Installing tinymux in $DSTDIR"

     #
     # 1.3 Create main tinymux directory
     #

     mkdir $PKGDIR
     cd $PKGDIR

     echo -n "."

     #
     # 1.4 Do sanity check for existing tinymux installations
     #

     if test -f ./$NAME; then

       echo "It's not good idea to install tinymux in the current directory."
       echo "You should read 'man $NAME' and run it in a different directory."
       exit

     fi

     if test -f ./src/tools/$NAME; then

       echo "If you want to use this script, you need to install tinymux globally"
       echo "as root first, and then run this script. If you don't have the"
       echo "necessary access, you should install tinymux normally from the source"
       echo "or ask your system administrator about installing it globally."
       exit

     fi

     if test -f ./game/Startmux; then

       echo "You should only run this once to install tinymux locally."
       echo "All upgrades and modifications to the server itself are done"
       echo "globally. Check with your system administrator if you are having"
       echo "problems. If something is wrong with your configuration files,"
       echo "create a new directory and run '$NAME' in that and copy"
       echo "you're modified files over."
       exit

     fi

     echo -n "."

     # 1.5 Setup game directory

     #
     # 1.5.1 Create base game directory
     #

     mkdir $DSTDIR
     cd $DSTDIR
     mkshrcps *.conf mux.config _backupflat.sh Backup Startmux

     echo -n "."

     #
     # 1.5.2 Make sure Startmux is executable by the user
     #

     chmod u+x Startmux

     echo -n "."

     #
     # 1.5.3 Link binaries
     #

     mkcdir bin
     mklns netmux slave libmux.so stubslave sample.so sqlproxy.so sqlslave.xo sum.so
     ln -s $SRCDIR/$DWNDIR/netmux dbconvert

     echo -n "."

     # 1.6 Setup data directory

     #
     # 1.6.1 Create data directory
     #

     mkcdir data
     mkshrcps db_check db_load db_unload netmux.db

     echo -n "."

     #
     # 1.6.2 Make sure db scripts are executable by the user
     #

     chmod u+x db_check db_load db_unload

     echo -n "."

     # 1.7 Setup text files

     #
     # 1.7.1 Create text directory
     #

     mkcdir text
     mkshrlns badsite.txt connect.txt create_reg.txt down.txt full.txt guest.txt \
     	help.txt motd.txt news.txt newuser.txt plushelp.txt quit.txt \
        register.txt staffhelp.txt wizhelp.txt wizmotd.txt wiznews.txt

     echo "Done"
     echo "** Be sure to change the 'port' entry in tinymux/game/netmux.conf to the"
     echo "** one either assigned by your system admin or currently available on"
     echo "** the system. For detailed information about greater configuration,"
     echo "** see /usr/share/docs/tinymux/CONFIGURATION."
     echo "**"
     echo "** After configuring the tinymux to your liking, run the ./Startmux script"
     echo "** to start the tinymux. Then log into the tinymux as the player wizard with:"
     echo " "
     echo "   connect wizard potrzebie"
     echo " "
     echo "** and change the password to something safe. Finally, fully shutdown"
     echo "** the tinymux and restart it."
    ;;
  -v|--version)

    ################################################################
    #
    # 1. Display version information
    #
    
    echo "$NAME $VERSION  Copyright (C) 2003 Ervin Hearn III"
    echo "This program is free software; you can redistribute it and/or modify it"
    echo "under the terms of the \"Artistic License\" which comes with Debian."
    echo " "
    echo "THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED"
    echo "WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES"
    echo "OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE."
    echo " "
    echo "On Debian GNU/Linux systems, the complete text of the Artistic License"
    echo "can be found in '/usr/share/common-licenses/Artistic'."
    echo " "
    echo "Report bugs to <noltar@korongil.net>."
    exit 1
    ;;
  *)

    ################################################################
    #
    # 1. Display help information
    #
    
    echo "$NAME $VERSION  Copyright (C) 2003 Ervin Hearn III"
    echo "This program is free software; you can redistribute it and/or modify it"
    echo "under the terms of the \"Artistic License\" which comes with Debian."
    echo " "
    echo "THIS PACKAGE IS PROVIDED \"AS IS\" AND WITHOUT ANY EXPRESS OR IMPLIED"
    echo "WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES"
    echo "OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE."
    echo " "
    echo "On Debian GNU/Linux systems, the complete text of the Artistic License"
    echo "can be found in '/usr/share/common-licenses/Artistic'."
    echo " "
    echo "Usage: $NAME [OPTION]"
    echo " "
    echo "Installs tinymux in the current directory for the user."
    echo " "
    echo "This program follows the usual GNU command line syntax, with long"
    echo "options starting with two dashes ('-')."
    echo " "
    echo "Options:"
    echo "  -h, --help        display this help and exit"
    echo "  -v, --version     output version information and exit"
    echo " "
    echo "Report bugs to <noltar@korongil.net>."
    exit 1
    ;;
esac

exit 0