start up and shut down script

Поиск
Список
Период
Сортировка
От surabhi.ahuja
Тема start up and shut down script
Дата
Msg-id 8626C1B7EB748940BCDD7596134632BE3986A5@jal.iiitb.ac.in
обсуждение исходный текст
Ответы Re: start up and shut down script  (Martijn van Oosterhout <kleptog@svana.org>)
Re: start up and shut down script  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
I am using PostgreSQL 8.0.0.
 
 i have noted the following lines in the script to start or shut down postmaster.
Can you please let me know why they are needed
 
if [ "`uname`" = "Linux" ]; then
   INITD=/etc/rc.d/init.d
   . $INITD/functions
   # Get config.
   . /etc/sysconfig/network
fi

and
 
if [ "`uname`" = "Linux" ]; then
   [ "${NETWORKING}" = "no" ] && exit 0
fi
 
who will define $NETWORKING ?
 
are these calls OS specific , for instance they are for red hat
 
for a diffrent OS like Enterprise Suse Linux 10 the above script will not work,
because the file $INITD/functions is not there in case of Suse Linux installation
 
Similarly . /etc/sysconfig/network
is not a file but a directory in Suse Linux 10.
 
 
thanks
surabhi
 

В списке pgsql-general по дате отправления:

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Does anyone have a compiled dblink_tds for Redhat EL 4.x?
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: [HACKERS] Index greater than 8k