Add run_servers.sh and mamefile.sh.
authorShingo W. Kagami
Thu, 21 Jan 2010 07:16:27 +0900
changeset 165d4a4dbb3e5
parent 0 707ccbc577fb
child 2 5ba7dd492647
Add run_servers.sh and mamefile.sh.
mamefile.sh
run_servers.sh
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mamefile.sh	Thu Jan 21 07:16:27 2010 +0900
     1.3 @@ -0,0 +1,8 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +if [ "$1" = "" ]; then
     1.7 +    /cygdrive/c/local/Mame5/Mame5.exe
     1.8 +    exit
     1.9 +fi
    1.10 +
    1.11 +/cygdrive/c/local/Mame5/MameFile5.exe `cygpath -wa $1`
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/run_servers.sh	Thu Jan 21 07:16:27 2010 +0900
     2.3 @@ -0,0 +1,12 @@
     2.4 +#!/bin/sh
     2.5 +
     2.6 +echo running cygserver ...
     2.7 +(/usr/sbin/cygserver.exe &)
     2.8 +echo running apache ...
     2.9 +/usr/sbin/apachectl2 start
    2.10 +
    2.11 +echo running fetchmail ...
    2.12 +/usr/bin/fetchmail -N
    2.13 +
    2.14 +exit
    2.15 +