]> git.pld-linux.org Git - packages/vzctl.git/commitdiff
- packaged /var/lib/vzctl directory
authorTomasz Pala <gotar@pld-linux.org>
Fri, 28 Jan 2011 01:11:58 +0000 (01:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vzctl.spec -> 1.11

vzctl.spec

index bd394d2d717dd7ac65db04ea0ce505db88b56088..acf3497a8a922c8c885b4b7631cff02800a9989b 100644 (file)
@@ -98,7 +98,7 @@ rm -rf $RPM_BUILD_ROOT
 /bin/rm -rf /dev/vzctl
 /bin/mknod -m 600 /dev/vzctl c 126 0
 if [ -f %{_configdir}/vz.conf ]; then
-       if ! grep "IPTABLES=" %{_configdir}/vz.conf >/dev/null 2>&1; then
+       if ! grep -q "IPTABLES=" %{_configdir}/vz.conf 2>/dev/null; then
                echo 'IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"' >> %{_configdir}/vz.conf
        fi
 fi
@@ -144,7 +144,7 @@ fi
 %dir /vz
 /vz/[dlt]*
 %attr(700,root,root) %dir /vz/[pr]*
-/var/lib/vzctl/veip
+/var/lib/vzctl
 %{_mandir}/man5/*.5*
 %{_mandir}/man8/*.8*
 
This page took 0.073095 seconds and 4 git commands to generate.