Project

General

Profile

Revision 9e26460d

ID9e26460d80c3affd95ee983ff09f44f7b49b0bac
Parent 911e4e11
Child 2dde134c

Added by root about 10 years ago

Fixed a few issues setting up tooltron on Marvin

View differences:

mainbox/Makefile
10 10

  
11 11
install: tooltron
12 12
	cp tooltron /usr/local/bin
13
	cp tooltron.init /usr/init.d/tooltron
13
	cp tooltron.init /etc/init.d/tooltron
14 14
	update-rc.d tooltron defaults
15 15

  
16 16
clean:
mainbox/log.c
20 20
  vprintf(fmt, args);
21 21
  printf("\n");
22 22
  va_end(args);
23
  fflush(stdout);
23 24
}
24 25

  
25 26
void log_perror(const char *s) {
mainbox/tooltron.init
2 2

  
3 3
### BEGIN INIT INFO
4 4
# Provides:        tooltron
5
# Required-Start:    mountkernfs
5
# Required-Start:
6 6
# Required-Stop:
7 7
# Default-Start:   2 3 4 5
8 8
# Default-Stop:    0 1 6
......
11 11

  
12 12
case "$1" in
13 13
  start)
14
    start-stop-daemon --start --pidfile /var/run/tooltron.pid --exec tooltron -- run
14
    (cd /root; tooltron run >> tooltron.log)&
15 15
    ;;
16 16
  stop)
17 17
    tooltron stop

Also available in: Unified diff