Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
nrpe
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 16
[-]
[+]
Changed
nrpe.spec
@@ -121,6 +121,10 @@ if [ -z "`grep ^nagios /etc/sudoers`" ] ; then echo "nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/" >> /etc/sudoers fi +else + if [ -d /etc/sudoers.d ] ; then + echo "nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/" > /etc/sudoers.d/nagios-plugins + fi fi %build