
17 Dec
2010
17 Dec
'10
6:10 p.m.
On 12/17/2010 10:56 AM, Guido Günther wrote:ehavior of the init script.
Something like
[ ! -f "$sysconfdir"/rc.d/init.d/functions ] || . "$sysconfdir"/rc.d/init.d/functions
would avoid a distro specific patch.
Yes, I can live with a patch like that, which checks that it will be safe to source the script before actually doing so. I'd use -r instead of -f, though. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org