# update oidentd so it uses the proc group
if [ -x /etc/init.d/oidentd -a -f /etc/default/oidentd ]; then
- check_and_sed '^OIDENT_GROUP=proc' \
- 's/^\(OIDENT_GROUP\)=.*/\1=proc/' \
- /etc/default/oidentd \
- && /etc/init.d/oidentd restart
+ if check_and_sed '^OIDENT_GROUP=oident' \
+ 's/^\(OIDENT_GROUP\)=.*/\1=proc/' \
+ /etc/default/oidentd;
+ then
+ /etc/init.d/oidentd restart
+ fi
fi
fi
}