diff options
author | abs <abs@pkgsrc.org> | 2002-04-05 09:50:16 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-04-05 09:50:16 +0000 |
commit | 5f28d1c502d7ef45145c86517c3976dabd9b5fb2 (patch) | |
tree | 5afbc9f1391fa4462cd2b8b8a366e6d6fa43dcd8 /databases/postgresql-server | |
parent | 56638800f76764947f77d2e5bc97eb4a25905d93 (diff) | |
download | pkgsrc-5f28d1c502d7ef45145c86517c3976dabd9b5fb2.tar.gz |
If we do not have /etc/rc.subr, but we do have /etc/rc.conf, still source it.
Diffstat (limited to 'databases/postgresql-server')
-rw-r--r-- | databases/postgresql-server/files/pgsql.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/postgresql-server/files/pgsql.sh b/databases/postgresql-server/files/pgsql.sh index 58891e2f269..041e81f3887 100644 --- a/databases/postgresql-server/files/pgsql.sh +++ b/databases/postgresql-server/files/pgsql.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: pgsql.sh,v 1.7 2002/04/04 05:21:50 jlam Exp $ +# $NetBSD: pgsql.sh,v 1.8 2002/04/05 09:50:16 abs Exp $ # # PostgreSQL database rc.d control script # @@ -95,6 +95,10 @@ then load_rc_config $name run_rc_command "$1" else + if [ -f /etc/rc.conf ] + then + . /etc/rc.conf + fi case "$1" in initdb) eval ${initdb_cmd} |