update the cpi initscript
This commit is contained in:
parent
925b343a65
commit
aea23e74fb
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2009 Red Hat, Inc.
|
# Copyright 2009 Red Hat, Inc.
|
||||||
# License: GPLv2
|
# License: GPLv2
|
||||||
# Author: Dan Horak <dhorak@redhat.com>
|
# Author: Dan Horák <dhorak@redhat.com>
|
||||||
#
|
#
|
||||||
# cpi Set Control Program Identification on IBM zSeries
|
# cpi Set Control Program Identification on IBM zSeries
|
||||||
#
|
#
|
||||||
@ -33,6 +33,8 @@ prog="cpi"
|
|||||||
cpipath=/sys/firmware/cpi
|
cpipath=/sys/firmware/cpi
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
[ `id -u` -eq 0 ] || return 4
|
||||||
|
|
||||||
echo -n $"Starting $prog: "
|
echo -n $"Starting $prog: "
|
||||||
|
|
||||||
if [ -d $cpipath ]; then
|
if [ -d $cpipath ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user