FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 10-10-2012, 04:26 AM
Dietmar Maurer
 
Default checkquorum.wdmd: add integration script with wdmd

> +# rpm based distros
> +[ -d /etc/sysconfig ] &&
> + [ -f /etc/sysconfig/checkquorum ] &&
> + . /etc/sysconfig/checkquorum
> +
> +# deb based distros
> +[ ! -d /etc/sysconfig ] &&
> + [ -f /etc/default/checkquorum ] &&
> + . /etc/default/checkquorum
> +

FYI: Some RAID tool vendors delivers utilities for debian which creates directory '/etc/sysconfig'
on debian boxes, so that test is not reliable.
 

Thread Tools




All times are GMT. The time now is 10:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org