Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
qlvnictools
qlvnictools-pid_dir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qlvnictools-pid_dir.patch of Package qlvnictools
From: Philipp Thomas <pth@suse.de> Date: 2014-02-14 15:15:24+01:00 Subject: Change PID directory /var/lock/subsys isn't allowed anymore so special-casing SUSE is wrong. --- qlgc_vnic | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) Index: qlgc_vnic =================================================================== --- qlgc_vnic.orig 2014-02-14 15:10:20.335998877 +0100 +++ qlgc_vnic 2014-02-14 15:14:14.854562440 +0100 @@ -127,15 +127,10 @@ elif [[ -e /sbin/start_daemon && -e /sbi return $ret } -#Implementing the subsys file part of RHEL status function status() { echo $1 - if [ ! -f /etc/SuSE-release ]; then - pid_file=/var/lock/subsys/$1 - else - pid_file=/var/run/$1.pid - fi + pid_file=/var/run/$1.pid if [ -f $pid_file ]; then return 2 fi @@ -158,7 +153,7 @@ if [ -z "${BOOTUP:-}" ]; then if [ -f /etc/sysconfig/init ]; then . /etc/sysconfig/init else - # This all seem confusing? Look in /etc/sysconfig/init, + # This all seem confusing? Look in /etc/sysconfig/init, # or in /usr/doc/initscripts-*/sysconfig.txt BOOTUP=color RES_COL=60
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