Add 'status' argument.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5654 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas
2001-10-15 22:33:40 +00:00
parent 2202cf2c09
commit 27f6b35365
+4 -1
View File
@@ -20,9 +20,12 @@ case $1 in
stop)
$PG_CTL stop
;;
status)
$PG_CTL status
;;
connect)
$PG_CTL status | grep "not running" && $PG_CTL start && sleep 1
psql -p 7777 gnc_test
psql -p 7777 $2
;;
*)
echo "Bad command: $1"