From aea23e74fbebff0ebaf4e4e0fa23fccbd58c5b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 22 Dec 2009 11:24:25 +0000 Subject: [PATCH] update the cpi initscript --- cpi.initd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpi.initd b/cpi.initd index 69e47af..463a2e5 100644 --- a/cpi.initd +++ b/cpi.initd @@ -2,7 +2,7 @@ # # Copyright 2009 Red Hat, Inc. # License: GPLv2 -# Author: Dan Horak +# Author: Dan HorĂ¡k # # cpi Set Control Program Identification on IBM zSeries # @@ -33,6 +33,8 @@ prog="cpi" cpipath=/sys/firmware/cpi start() { + [ `id -u` -eq 0 ] || return 4 + echo -n $"Starting $prog: " if [ -d $cpipath ]; then