From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <andrewclarkiii@gmail.com>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DNS_FROM_OPENWHOIS, 
	RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.2.5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:message-id:date:from:user-agent:mime-version:to
	:subject:references:in-reply-to:content-type;
	bh=xk4FwwgCxfufnjTlLOznjeJIlFIaSQittqxloep+22k=;
	b=cT5I5K9zYha93+Z2NZoV5jXkiZkZVwaRODsWuJeXBeL//RExfShw2ZfyZRjenVxdAq
	sLe4rGED+ynp7snYCmME0yBeKQHln/njMom2D062glEQwmnh4d5MzXBXTqJHOzCJiw01
	oWhGSj+Q1hd+3M65h1QXrp+f9Nh6CmKfIwaFY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:user-agent:mime-version:to:subject:references
	:in-reply-to:content-type;
	b=PwDn1jpS8tJ7FX4qAHkZbXNlPshcXUjv3pxizSQZh0pYq5JPXxbLZs1k+PpSxWKsoi
	eqCOoNglCNuDkZzCwpvElbuB8nIYGpsFO7d7oHhWFL6VlBoyWRASCgotDy2V9dm9ofg3
	lOUlX0O28kFHO/HK3NR23Ji1g9IKtcVNYTJyE=
Message-ID: <4D73789F.2030305@gmail.com>
Date: Sun, 06 Mar 2011 15:05:51 +0300
From: Andrew Clark <andrewclarkiii@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.14pre) Gecko/20110124 Thunderbird/3.1.8pre
MIME-Version: 1.0
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
References: <AANLkTim6GtkKe3RBZUgXTin-8HA=b34tgYn+xkL8eRwf@mail.gmail.com>
	<201103060721.37146.romulak@googlemail.com>
In-Reply-To: <201103060721.37146.romulak@googlemail.com>
Content-Type: multipart/mixed; boundary="------------050101020608010608070002"
Subject: Re: [sisyphus] systemd
X-BeenThere: sisyphus@lists.altlinux.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
List-Id: ALT Linux Sisyphus discussions <sisyphus.lists.altlinux.org>
List-Unsubscribe: <https://lists.altlinux.org/mailman/options/sisyphus>,
	<mailto:sisyphus-request@lists.altlinux.org?subject=unsubscribe>
List-Archive: <http://lists.altlinux.org/pipermail/sisyphus>
List-Post: <mailto:sisyphus@lists.altlinux.org>
List-Help: <mailto:sisyphus-request@lists.altlinux.org?subject=help>
List-Subscribe: <https://lists.altlinux.org/mailman/listinfo/sisyphus>,
	<mailto:sisyphus-request@lists.altlinux.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Mar 2011 12:06:01 -0000
Archived-At: <http://lore.altlinux.org/sisyphus/4D73789F.2030305@gmail.com/>
List-Archive: <http://lore.altlinux.org/sisyphus/>
List-Post: <mailto:sisyphus@altlinux.ru>

This is a multi-part message in MIME format.
--------------050101020608010608070002
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 8bit

On 06.03.2011 08:21, Roman wrote:
> Вчера отловил
> service network restart
> /sbin/service: line 75: [-f: команда не найдена
После квадратной скобки нету пробела. Патч должен помочь.


--------------050101020608010608070002
Content-Type: text/plain;
 name="service.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="service.patch"

--- service.bak	2011-03-06 15:04:30.000000000 +0300
+++ service	2011-03-06 15:04:50.000000000 +0300
@@ -72,7 +72,7 @@
 		check_service
 		cd / || exit
 		if [ -x "$SYSTEMCTL" ]; then
-			if [-f "$SYSTEMDSERVICEDIR/${SERVICE}.service" -o -x "$SERVICEDIR/$SERVICE" ]; then
+			if [ -f "$SYSTEMDSERVICEDIR/${SERVICE}.service" -o -x "$SERVICEDIR/$SERVICE" ]; then
 				exec $SYSTEMCTL "$@" ${SERVICE}.service
 			fi
 		elif [ -x "$SERVICEDIR/$SERVICE" ]; then

--------------050101020608010608070002--