From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dIGuZ-0008Nn-J1 for ptxdist@pengutronix.de; Tue, 06 Jun 2017 18:00:51 +0200 Received: from mol by pty.hi.pengutronix.de with local (Exim 4.84_2) (envelope-from ) id 1dIGuZ-0000vt-CT for ptxdist@pengutronix.de; Tue, 06 Jun 2017 18:00:51 +0200 Date: Tue, 6 Jun 2017 18:00:51 +0200 From: Michael Olbrich Message-ID: <20170606160051.ilc2xwzvlwt2mvh3@pengutronix.de> References: <20170606152849.69114-1-g.schenk@eckelmann.de> <20170606152849.69114-3-g.schenk@eckelmann.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20170606152849.69114-3-g.schenk@eckelmann.de> Subject: Re: [ptxdist] [PATCH 2/3] rc-once: Use readlink to check where /system-update points to. List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de T24gVHVlLCBKdW4gMDYsIDIwMTcgYXQgMDU6Mjg6NDhQTSArMDIwMCwgR2F2aW4gU2NoZW5rIHdy b3RlOgo+IHJjLW9uY2UgaXN0IGJhc2VkIG9uIHN5c3RlbWQgb2ZmbGluZSB1cGRhdGUgbWVjaGFu aXNtLgo+IGh0dHBzOi8vd3d3LmZyZWVkZXNrdG9wLm9yZy9zb2Z0d2FyZS9zeXN0ZW1kL21hbi9z eXN0ZW1kLm9mZmxpbmUtdXBkYXRlcwo+IAo+IFRvIG1ha2UgaXQgcG9zc2libGUgdG8gaGF2ZSBt dWx0aXBsZSB1cGRhdGUgc2VydmljZXMgYmVzaWRlIHJ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