Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Marvin1973:pcs
pacemaker
crm_report.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crm_report.in of Package pacemaker
#!/bin/sh # # Copyright (C) 2007 Dejan Muhamedagic <dmuhamedagic@suse.com> # Copyright (C) 2015 Kristoffer Gronlund <kgronlund@suse.com> # Copyright (C) 2015 Gao,Yan <ygao@suse.com> # # Replaced with crm report PARENT_COMMAND="$(ps -o comm= $PPID)" PROG="$(basename "$0")" die() { echo "$PROG: $*" exit 1 } [ "$(basename "$PARENT_COMMAND")" = "crm" ] && die "called itself in a loop, aborting" if which crm > /dev/null 2>&1; then crm report "$@" elif [ -x /usr/sbin/crm ]; then /usr/sbin/crm report "$@" else #die "crm_report has been deprecated: Please install crmsh, which replaces it" /usr/sbin/crm_report.pacemaker "$@" fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor