Commit graph

23 commits

Author SHA1 Message Date
Breno Leitao
3340309de7 Support force-reload options on daemon scripts
Support force-reload options, which is useful and it is required be by
Debian policy.

This patch come from the Debian maintainer Colin Watson
<cjwatson@debian.org>

Signed-off-by: Breno Leitao <brenohl@br.ibm.com>
2016-03-28 17:09:35 -03:00
Gabriel Krisman Bertazi
4cf7f4118b iprutils: Add option to enable/disable initd scripts from configure script.
Allow users to enable initd scripts support in iprutils for distros that
support it.  One can run ../configure --with-initscripts to building the
init files.

This modifies the default behavior to not generate initd scripts by
default.  From now on, to generate them user must use --with-initscripts.

The default for --with-initscripts is to install scripts to
%{prefix}/etc/init.d.  That can be overriden using
--with-initscripts=<path>.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-08-21 13:52:50 -05:00
Gabriel Krisman Bertazi
f0954ad32f iprutils: Fix regression in distclean.
Commit f6ef088 ("iprutils: Fix a couple of dist errors") replaced
distribuition of iprha with iprha.in, but it did not include proper
clean up, leaving some files behind in distclean and failing distcheck
target.  This commit fixes the issue.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-08-21 13:52:32 -05:00
Colin Watson
f6ef08894e iprutils: Fix a couple of dist errors
LICENSE was missing from the distributed tarball, and init.d/iprha was
present instead of init.d/iprha.in.  This fixes both of these errors.

Signed-off-by: Colin Watson <cjwatson@debian.org>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-06-12 16:18:29 -05:00
Gabriel Krisman Bertazi
96f6daba00 iprutils: This patch removes some hardcoded paths that assumed the iprutils binaries where in /sbin.
We replace every hardcoded path with an autotools variable @sbindir@
that is replaced at build time by the correct installation path.

This was tested on SLES and RHEL.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <Brian King brking@linux.vnet.ibm.com>
2015-03-13 15:48:06 -05:00
Gabriel Krisman Bertazi
dd589511af iprutils: Add support for Autotools build system.
This commit adds support to build iprutils using GNU Autools.  It
replaces the old Makefile and version.mk file with Automake.  Now, the
version information is available at the configure.ac file.

Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
2015-03-05 11:50:02 -06:00
Wen Xiong
5290fcd330 ipruitls: Avoid bashisms
"command &> /dev/null" and "command >& /dev/null" are bashisms and will
fail on e.g. systems where /bin/sh is dash.  Use POSIX-compatible
alternatives.

Signed-off-by : Colin Watson <cjwatson@debian.org>
---
2014-04-03 10:33:28 -05:00
wboyer
335a13040d A few more active/active updates and fixes, also support new kevent paths 2008-11-20 01:20:20 +00:00
brking
20f1aeef97 init.d script fixes 2007-08-21 18:56:01 +00:00
brking
1027ddecf1 Add iprha init.d script. 2007-04-26 13:40:36 +00:00
brking
837bd87e00 Fix iprupdate daemon killing. Don't log errors when page 3 inquiry fails due to illegal request 2005-02-25 20:39:31 +00:00
bjking1
aefd3472de Lots of updates 2005-02-23 20:57:10 +00:00
bjking1
759ec8d531 Fix dependencies in init.d scripts. Only enable init.d scripts on ppc. Don't log an error if ipr is not loaded. 2004-04-29 16:49:25 +00:00
bjking1
7a9d059b33 Load sg module in init.d scripts if not loaded 2004-04-16 16:15:43 +00:00
bjking1
7f2e686db5 Fix device details screen corruption for failed array members. Format devices even if we can't disable qerr. Print LID path in flit macro in iprdbg. Fix iprupdate init.d status. Fix init.d scripts to work with yast2. 2004-04-06 21:10:24 +00:00
bjking1
a85bb5965d Keeping up with libsysfs API changes. Cleanup a few issues with the spec file. Leave tty in a sane state if iprconfig exits on an error 2004-03-29 23:23:28 +00:00
bjking1
82f650b337 Copyright fixes. RAID include fix. DASD ucode download fix. Hot spare fixes. 2004-03-24 20:02:30 +00:00
bjking1
004db43979 Change license to GPL. Make init scripts not hang on RedHat systems 2004-02-27 20:21:37 +00:00
bjking1
1feb40c923 Copyright notice for iprconfig 2004-02-27 01:29:12 +00:00
bjking1
8af065e028 General cleanup. LSB init.d scripts. 2004-02-23 19:54:29 +00:00
bjking1
ba38cfcbe1 Make iprdump take no parameters. Fixed fd leak. Added firmware update lib functions. Add device attribute support. 2004-02-20 16:12:40 +00:00
bjking1
3a1d92d542 ibmsis -> ipr conversion stuff 2003-10-23 01:50:53 +00:00
manderso
5b6d45f286 Initial revision 2003-10-22 22:21:02 +00:00