From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f4NLO-0007xQ-4L for ptxdist@pengutronix.de; Fri, 06 Apr 2018 11:07:38 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 236CC3A023F for ; Fri, 6 Apr 2018 11:07:41 +0200 (CEST) Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S27iwUQZoPPv for ; Fri, 6 Apr 2018 11:07:41 +0200 (CEST) Received: from adahl by ada.ifak-system.com with local (Exim 4.89) (envelope-from ) id 1f4NLG-0000YT-Lf for ptxdist@pengutronix.de; Fri, 06 Apr 2018 11:07:30 +0200 From: Alexander Dahl Date: Fri, 6 Apr 2018 11:07:30 +0200 Message-Id: <20180406090730.2055-6-ada@thorsis.com> In-Reply-To: <20180406090730.2055-1-ada@thorsis.com> References: <20180406090730.2055-1-ada@thorsis.com> Subject: [ptxdist] [PATCH v2 5/5] nftables: Add bbinit startscript List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Rm9yIGxvYWRpbmcgeW91ciBwYWNrZXQgZmlsdGVyIHJ1bGVzIG9uIHN5c3RlbSBzdGFydHVwLgoK U2lnbmVkLW9mZi1ieTogQWxleGFuZGVyIERhaGwgPGFkYUB0aG9yc2lzLmNvbT4KLS0tCiBwcm9q ZWN0cm9vdC9ldGMvaW5pdC5kL25mdGFibGVzIHwgMTAzICsrKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrK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TiIgXSB8fCBleGl0IDAKKworZG9fc3RhcnQoKQor eworICAgICMgUmV0dXJuCisgICAgIyAgMCBpZiBzdGFydCBPSworICAgICMgIDIgaWYgc3RhcnQg Tk9LCisKKyAgICAjIG5mdCB2MC40IHJldHVybiAwIGlmIEVOT0VOVCAkQ09ORgorICAgIGlmIFsg ISAtciAiJENPTkYiIF0gOyB0aGVuCisgICAgICAgIGVjaG8gIkU6IE5vIHN1Y2ggJE5BTUUgJERF U0MgY29uZmlnIGZpbGUgJENPTkYiID4mMgorICAgICAgICByZXR1cm4gMgorICAgIGZpCisKKyAg ICAkQklOIC1mICRDT05GIHx8IHJldHVybiAyCit9CisKK2RvX3N0b3AoKQoreworICAgICMgUmV0 dXJuCisgICAgIyAgIDAgaWYgc3RvcHBlZAorICAgICMgICAxIGlmIGFscmVhZHkgc3RvcHBlZAor ICAgICMgICAyIGlmIGNvdWxkIG5vdCBiZSBzdG9wcGVkCisgICAgaWYgISBkb19zdGF0dXMgOyB0 aGVuCisgICAgICAgICRCSU4gZmx1c2ggcnVsZXNldCB8fCByZXR1cm4gMgorICAgIGZpCit9CisK K2RvX3N0YXR1cygpCit7CisgICAgIyBSZXR1cm4KKyAgICAjICAgMCBpZiBubyBydWxlcworICAg ICMgICAxIGlmIHJ1bGVzCisgICAgaWYgWyAiJCgkQklOIGxpc3QgcnVsZXNldCAyPi9kZXYvbnVs bCB8IHdjIC1sKSIgPSAiMCIgXSA7IHRoZW4KKyAgICAgICAgcmV0dXJuIDAKKyAgICBmaQorCisg ICAgcmV0dXJuIDEKK30KKworY2FzZSAiJDEiIGluCisgICAgc3RhcnQpCisgICAgICAgIGVjaG8g LW4gIlN0YXJ0aW5nICRERVNDIC4uLiIKKyAgICAgICAgZG9fc3RhcnQKKyAgICAgICAgcmV0PSIk PyIKKyAgICAgICAgY2FzZSAiJHJldCIgaW4KKyAgICAgICAgICAgIDB8MSkgICAgZWNobyAiIERv bmUuIiA7OworICAgICAgICAgICAgMikgICAgICBlY2hvICIgRmFpbGVkLiIgOzsKKyAgICAgICAg ZXNhYworICAgICAgICBleGl0ICRyZXQKKyAgICAgICAgOzsKKyAgICByZXN0YXJ0fGZvcmNlLXJl bG9hZCkKKyAgICAgICAgZWNobyAtbiAiUmVzdGFydGluZyAkREVTQyAuLi4iCisgICAgICAgIGRv X3N0YXJ0CisgICAgICAgIHJldD0iJD8iCisgICAgICAgIGNhc2UgIiRyZXQiIGluCisgICAgICAg ICAgICAwfDEpICAgIGVjaG8gIiBEb25lLiIgOzsKKyAgICAgICAgICAgIDIpICAgICAgZWNobyAi IEZhaWxlZC4iIDs7CisgICAgICAgIGVzYWMKKyAgICAgICAgZXhpdCAkcmV0CisgICAgICAgIDs7 CisgICAgc3RvcCkKKyAgICAgICAgZWNobyAtbiAiU3RvcHBpbmcgJERFU0MgLi4uIgorICAgICAg ICBkb19zdG9wCisgICAgICAgIHJldD0iJD8iCisgICAgICAgIGNhc2UgIiRyZXQiIGluCisgICAg ICAgICAgICAwfDEpICAgIGVjaG8gIiBEb25lLiIgOzsKKyAgICAgICAgICAgIDIpICAgICAgZWNo byAiIEZhaWxlZC4iIDs7CisgICAgICAgIGVzYWMKKyAgICAgICAgZXhpdCAkcmV0CisgICAgICAg IDs7CisgICAgc3RhdHVzKQorICAgICAgICBpZiAhIGRvX3N0YXR1cyA7IHRoZW4KKyAgICAgICAg ICAgIGVjaG8gIlN0YXR1cyBvZiAke0RFU0N9OiBydWxlcyBsb2FkZWQiCisgICAgICAgICAgICBl eGl0IDAKKyAgICAgICAgZWxzZQorICAgICAgICAgICAgZWNobyAiU3RhdHVzIG9mICR7REVTQ306 IG5vIHJ1bGVzIGxvYWRlZCIKKyAgICAgICAgICAgIGV4aXQgMQorICAgICAgICBmaQorICAgICAg ICA7OworICAgICopCisgICAgICAgIGVjaG8gIlVzYWdlOiAkU0NSSVBUTkFNRSB7c3RhcnR8c3Rv cHxzdGF0dXN8cmVzdGFydHxmb3JjZS1yZWxvYWR9IiA+JjIKKyAgIC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