Minor comment fixes in example dgamelaunch.conf

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@457 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2008-11-25 16:20:32 +00:00
parent 24189a955a
commit a44b161d76

View File

@ -76,33 +76,33 @@ lockfile = "/dgl-lock"
# gamestart = just before a game is started # gamestart = just before a game is started
# #
# <command> is: # <command> is:
# mkdir "foo" = creates a directory "foo" # mkdir "foo" = create a directory "foo"
# chdir "foo" = changes current work dir to "foo" # chdir "foo" = change current work dir to "foo"
# cp "foo" "bar" = copies file "foo" to "bar", overwriting previous "bar" # cp "foo" "bar" = copy file "foo" to "bar", overwriting previous "bar"
# ifnxcp "foo" "bar" = copies file "foo" to "bar", if "bar" doesn't exist # ifnxcp "foo" "bar" = copy file "foo" to "bar", if "bar" doesn't exist
# unlink "foo" = deletes file "foo" # unlink "foo" = delete file "foo"
# setenv "foo "bar" = sets environment variable "foo" to "bar" # setenv "foo" "bar" = set environment variable "foo" to "bar"
# exec "foo" "bar" = execute "foo" with "bar" as it's param # exec "foo" "bar" = execute "foo" with "bar" as it's param
# chpasswd = do the change password prompting, if logged in # chpasswd = do the change password prompting, if logged in
# chmail = do the change email prompting, if logged in # chmail = do the change email prompting, if logged in
# watch_menu = go to the watching menu # watch_menu = go to the watching menu
# quit = quit dgl # quit = quit dgl
# ask_login = do the login prompting, if not logged in # ask_login = do the login prompting, if not logged in
# ask_register = do register new user prompting, if not logged in and # ask_register = do register new user prompting, if not logged in and
# registration of new nicks is allowed. # registration of new nicks is allowed.
# edit_options "foo" = edit options for game which has the short name "foo" # edit_options "foo" = edit options for game which has the short name "foo"
# (user must be logged in) # (user must be logged in)
# play_game "foo" = start game which has the short name "foo" # play_game "foo" = start game which has the short name "foo"
# (user must be logged in) # (user must be logged in)
# submenu "foo" = go to submenu "foo" # submenu "foo" = go to submenu "foo"
# return = return from submenu # return = return from submenu
# #
# The commands will be done inside the chroot and with the uid and gid # The commands will be done inside the chroot and with the uid and gid
# defined above. # defined above.
# Parameters to the commands are subject to variable substitution: # Parameters to the commands are subject to variable substitution:
# %r = dglroot, as defined above # %r = dglroot, as defined above
# %n = user nick, if user is logged in # %n = user nick, if user is logged in
# %u = shed_uid, as defined above, but number # %u = shed_uid, as defined above, but numeric
# %g = game name, if user has selected a game. # %g = game name, if user has selected a game.
# #
# eg. commands[login] = mkdir "foo", unlink "bar", setenv "Z" "foo" # eg. commands[login] = mkdir "foo", unlink "bar", setenv "Z" "foo"