From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2FACE13832E for ; Tue, 19 Jul 2016 17:37:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51B7EE0AC3; Tue, 19 Jul 2016 17:37:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A01C0E0AC3 for ; Tue, 19 Jul 2016 17:37:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83734340CD0 for ; Tue, 19 Jul 2016 17:37:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C2CAD7DA for ; Tue, 19 Jul 2016 17:37:29 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1468946815.35e8386c24df6483f2918979dae150421f7151df.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: conf.d/ X-VCS-Repository: proj/openrc X-VCS-Files: conf.d/.gitignore conf.d/Makefile conf.d/staticroute X-VCS-Directories: conf.d/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 35e8386c24df6483f2918979dae150421f7151df X-VCS-Branch: master Date: Tue, 19 Jul 2016 17:37:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ef8d9274-ab10-41d9-87f4-d8297c4945d3 X-Archives-Hash: 02869220b322ee59bb22aad8240b9d27 commit: 35e8386c24df6483f2918979dae150421f7151df Author: William Hubbs gmail com> AuthorDate: Tue Jul 19 16:21:44 2016 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Jul 19 16:46:55 2016 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=35e8386c conf.d: makestaticroute file static conf.d/.gitignore | 1 - conf.d/Makefile | 5 ----- conf.d/staticroute | 26 ++++++++++++++++++++++++++ 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/conf.d/.gitignore b/conf.d/.gitignore deleted file mode 100644 index a228e5d..0000000 --- a/conf.d/.gitignore +++ /dev/null @@ -1 +0,0 @@ -staticroute diff --git a/conf.d/Makefile b/conf.d/Makefile index 25dff8e..a1cc7fb 100644 --- a/conf.d/Makefile +++ b/conf.d/Makefile @@ -6,8 +6,6 @@ CONF= bootmisc fsck hostname localmount netmount urandom tmpfiles \ ifeq (${MKNET},yes) CONF+= network staticroute -TARGETS+= staticroute -CLEANFILES+= staticroute endif MK= ../mk @@ -21,6 +19,3 @@ CONF-Linux= consolefont devfs dmesg hwclock keymaps killprocs modules mtab \ CONF-NetBSD= moused rarpd savecore include ${MK}/scripts.mk - -staticroute: staticroute${SFX} - cp $@${SFX} $@ diff --git a/conf.d/staticroute b/conf.d/staticroute new file mode 100644 index 0000000..19d0961 --- /dev/null +++ b/conf.d/staticroute @@ -0,0 +1,26 @@ +# Static routes are defined differently depending on your operating +# system, so please be sure to use the correct syntax. +# Do not use this file to define the default route. +# In all settings, multiple routes should be separated using ; or new lines. + +# Define static routes on Linux using route. See route(8) for syntax. +#staticroute="net 192.168.0.0 netmask 255.255.255.0 gw 10.73.1.1 +#net 192.168.1.0 netmask 255.255.255.0 gw 10.73.1.1" + +# Define static routes on Linux using iproute2. See ip(8) for syntax. +#staticiproute="192.168.0.0/24 via 10.73.1.1; 192.168.1.0/24 via 10.73.1.1" + +# Define static routes on GNU/Hurd. See route(8) for syntax. +# /etc/route.conf(5) takes precedence over this configuration. +# FIXME: "net ..." not supported +#staticroute="net 192.168.0.0 -netmask 255.255.255.0 --address 10.73.1.1 +#net 192.168.1.0 -netmask 255.255.255.0 --address 10.73.1.1" + +# Define static routes on GNU/KFreeBSD. See route(8) for syntax. +#staticroute="net 192.168.0.0 10.73.1.1 netmask 255.255.255.0 +#net 192.168.1.0 10.73.1.1 netmask 255.255.255.0" + +# Define static routes on other BSD systems. See route(8) for syntax. +# /etc/route.conf(5) takes precedence over this configuration. +#staticroute="net 192.168.0.0 -netmask 255.255.255.0 10.73.1.1 +#net 192.168.1.0 -netmask 255.255.255.0 10.73.1.1"