File: db_check

package info (click to toggle)
tinymux 2.4.3.31-1etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,504 kB
  • ctags: 6,249
  • sloc: cpp: 81,901; sh: 2,836; ansic: 336; makefile: 155
file content (12 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
PATH=/bin:/usr/bin:
#
#	Validate MUX V2 flatfile.
#
case $# in
	2)	../bin/netmux -d$1 -k -i$2 -o/dev/null 2>&1 ;;
	3)	../bin/netmux -d$1 -k -i$2 -o/dev/null 2>$3 ;;
	*)	echo Usage: $0 'basename source_file [log_file]'; exit 1 ;;
esac

exit 0