public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/openrc:master commit in: conf.d/
Date: Tue, 19 Jul 2016 17:37:29 +0000 (UTC)	[thread overview]
Message-ID: <1468946815.35e8386c24df6483f2918979dae150421f7151df.williamh@OpenRC> (raw)

commit:     35e8386c24df6483f2918979dae150421f7151df
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Tue Jul 19 16:21:44 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> 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"


             reply	other threads:[~2016-07-19 17:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-19 17:37 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-07-24 22:28 [gentoo-commits] proj/openrc:master commit in: conf.d/ William Hubbs
2016-11-03 17:07 William Hubbs
2016-07-19 17:37 William Hubbs
2016-07-19 17:37 William Hubbs
2016-07-19 17:37 William Hubbs
2016-01-19 22:26 William Hubbs
2015-11-11 21:54 William Hubbs
2014-08-22 19:10 William Hubbs
2014-08-10 18:08 ` William Hubbs
2014-03-13 20:28 William Hubbs
2014-01-09 20:14 William Hubbs
2012-11-29 18:46 William Hubbs
2012-07-09 14:28 William Hubbs
2012-06-07 15:56 William Hubbs
2012-03-02 17:06 William Hubbs
2011-10-08 18:54 Robin H. Johnson
2011-06-19 23:43 William Hubbs
2011-05-17 18:12 William Hubbs
2011-03-22  5:39 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1468946815.35e8386c24df6483f2918979dae150421f7151df.williamh@OpenRC \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox