update the cpi initscript

This commit is contained in:
Dan Horák 2009-12-22 11:24:25 +00:00
parent 925b343a65
commit aea23e74fb
1 changed files with 3 additions and 1 deletions

View File

@ -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