diff options
Diffstat (limited to 'app-misc/lirc/files/irexec-initd')
-rwxr-xr-x | app-misc/lirc/files/irexec-initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-misc/lirc/files/irexec-initd b/app-misc/lirc/files/irexec-initd index 51e241976bb8..e1defeeaa83f 100755 --- a/app-misc/lirc/files/irexec-initd +++ b/app-misc/lirc/files/irexec-initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de> # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/irexec-initd,v 1.2 2006/12/02 12:04:13 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/irexec-initd,v 1.3 2007/05/24 20:12:16 zzam Exp $ : ${IREXEC_USER:=root} @@ -10,7 +10,7 @@ depend() { } start() { - if [[ ${IREXEC_USER} == "root" && ${IREXEC_DISABLE_ROOT_WARNING} != yes ]]; then + if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then ewarn "Warning: Running irexec as root can open security holes" fi |