From 9c72f560e0270a6d67f3bd6d01fb0d158d1965cc Mon Sep 17 00:00:00 2001 From: Fenglei Dou <67573430@qq.com> Date: Thu, 17 Aug 2017 15:25:52 +0800 Subject: [PATCH] enable the glusterd by default when the package is installed on suse11 add -y to enable the glusterd init-script by default if the package is installed for the first time on suse11 --- glusterfs.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glusterfs.spec b/glusterfs.spec index ef4323e..069942f 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -213,7 +213,7 @@ chmod u-s "$b/%_bindir/fusermount-glusterfs" %if 0%{?suse_version} >= 1210 %service_add_post glusterd.service %else -%fillup_and_insserv -f glusterd +%fillup_and_insserv -f -y glusterd %endif %preun