[arch-commits] Commit in dhcpcd/repos (11 files)
Date: Thursday, April 5, 2012 @ 06:02:34 Author: ronald Revision: 155702 db-move: moved dhcpcd from [testing] to [core] (i686) Added: dhcpcd/repos/core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 155701, dhcpcd/repos/testing-i686/0001-Set-hostname-via-proc-if-file-is-available.patch) dhcpcd/repos/core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch (from rev 155701, dhcpcd/repos/testing-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch) dhcpcd/repos/core-i686/PKGBUILD (from rev 155701, dhcpcd/repos/testing-i686/PKGBUILD) dhcpcd/repos/core-i686/dhcpcd.conf.d (from rev 155701, dhcpcd/repos/testing-i686/dhcpcd.conf.d) dhcpcd/repos/core-i686/remove_ifconfig.patch (from rev 155701, dhcpcd/repos/testing-i686/remove_ifconfig.patch) Deleted: dhcpcd/repos/core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch dhcpcd/repos/core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch dhcpcd/repos/core-i686/PKGBUILD dhcpcd/repos/core-i686/dhcpcd.conf.d dhcpcd/repos/core-i686/remove_ifconfig.patch dhcpcd/repos/testing-i686/ ---+ 0001-Set-hostname-via-proc-if-file-is-available.patch | 66 0001-set-MTU-via-sysfs-if-file-is-available.patch | 122 PKGBUILD | 106 ++--- dhcpcd.conf.d | 12 - remove_ifconfig.patch | 40 ++--- 5 files changed, 171 insertions(+), 175 deletions(-) Deleted: core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch === --- core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-04-05 09:42:20 UTC (rev 155701) +++ core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-04-05 10:02:34 UTC (rev 155702) @@ -1,33 +0,0 @@ -From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 -From: Dan McGee d...@archlinux.org -Date: Sun, 19 Jun 2011 16:04:25 -0500 -Subject: [PATCH] Set hostname via /proc if file is available - -On Linux, the hostname can be set via this file if available, precluding -the need for a `hostname` binary. - -Signed-off-by: Dan McGee d...@archlinux.org - dhcpcd-hooks/30-hostname |6 +- - 1 files changed, 5 insertions(+), 1 deletions(-) - -diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname -index 65d1a13..af94262 100644 a/dhcpcd-hooks/30-hostname -+++ b/dhcpcd-hooks/30-hostname -@@ -21,7 +21,11 @@ need_hostname() - try_hostname() - { - if valid_domainname $1; then -- hostname $1 -+ if [ -w /proc/sys/kernel/hostname ]; then -+ echo $1 /proc/sys/kernel/hostname -+ else -+ hostname $1 -+ fi - else - syslog err Invalid hostname: $1 - fi --- -1.7.5.4 - Copied: dhcpcd/repos/core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 155701, dhcpcd/repos/testing-i686/0001-Set-hostname-via-proc-if-file-is-available.patch) === --- core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch (rev 0) +++ core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-04-05 10:02:34 UTC (rev 155702) @@ -0,0 +1,33 @@ +From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 +From: Dan McGee d...@archlinux.org +Date: Sun, 19 Jun 2011 16:04:25 -0500 +Subject: [PATCH] Set hostname via /proc if file is available + +On Linux, the hostname can be set via this file if available, precluding +the need for a `hostname` binary. + +Signed-off-by: Dan McGee d...@archlinux.org +--- + dhcpcd-hooks/30-hostname |6 +- + 1 files changed, 5 insertions(+), 1 deletions(-) + +diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +index 65d1a13..af94262 100644 +--- a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +@@ -21,7 +21,11 @@ need_hostname() + try_hostname() + { + if valid_domainname $1; then +- hostname $1 ++ if [ -w /proc/sys/kernel/hostname ]; then ++ echo $1 /proc/sys/kernel/hostname ++ else ++ hostname $1 ++ fi + else + syslog err Invalid hostname: $1 + fi +-- +1.7.5.4 + Deleted: core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch === --- core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-04-05 09:42:20 UTC (rev 155701) +++ core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-04-05 10:02:34 UTC (rev 155702) @@ -1,61 +0,0 @@ -From 950c00d1b183796034d227ef47a90eb248d79b72 Mon Sep 17 00:00:00 2001 -From: Dave Reisner d...@falconindy.com -Date:
[arch-commits] Commit in dhcpcd/repos (11 files)
Date: Thursday, April 5, 2012 @ 06:02:36 Author: ronald Revision: 155703 db-move: moved dhcpcd from [testing] to [core] (x86_64) Added: dhcpcd/repos/core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 155701, dhcpcd/repos/testing-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch) dhcpcd/repos/core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch (from rev 155701, dhcpcd/repos/testing-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch) dhcpcd/repos/core-x86_64/PKGBUILD (from rev 155701, dhcpcd/repos/testing-x86_64/PKGBUILD) dhcpcd/repos/core-x86_64/dhcpcd.conf.d (from rev 155701, dhcpcd/repos/testing-x86_64/dhcpcd.conf.d) dhcpcd/repos/core-x86_64/remove_ifconfig.patch (from rev 155701, dhcpcd/repos/testing-x86_64/remove_ifconfig.patch) Deleted: dhcpcd/repos/core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch dhcpcd/repos/core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch dhcpcd/repos/core-x86_64/PKGBUILD dhcpcd/repos/core-x86_64/dhcpcd.conf.d dhcpcd/repos/core-x86_64/remove_ifconfig.patch dhcpcd/repos/testing-x86_64/ ---+ 0001-Set-hostname-via-proc-if-file-is-available.patch | 66 0001-set-MTU-via-sysfs-if-file-is-available.patch | 122 PKGBUILD | 106 ++--- dhcpcd.conf.d | 12 - remove_ifconfig.patch | 40 ++--- 5 files changed, 171 insertions(+), 175 deletions(-) Deleted: core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch === --- core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-04-05 10:02:34 UTC (rev 155702) +++ core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-04-05 10:02:36 UTC (rev 155703) @@ -1,33 +0,0 @@ -From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 -From: Dan McGee d...@archlinux.org -Date: Sun, 19 Jun 2011 16:04:25 -0500 -Subject: [PATCH] Set hostname via /proc if file is available - -On Linux, the hostname can be set via this file if available, precluding -the need for a `hostname` binary. - -Signed-off-by: Dan McGee d...@archlinux.org - dhcpcd-hooks/30-hostname |6 +- - 1 files changed, 5 insertions(+), 1 deletions(-) - -diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname -index 65d1a13..af94262 100644 a/dhcpcd-hooks/30-hostname -+++ b/dhcpcd-hooks/30-hostname -@@ -21,7 +21,11 @@ need_hostname() - try_hostname() - { - if valid_domainname $1; then -- hostname $1 -+ if [ -w /proc/sys/kernel/hostname ]; then -+ echo $1 /proc/sys/kernel/hostname -+ else -+ hostname $1 -+ fi - else - syslog err Invalid hostname: $1 - fi --- -1.7.5.4 - Copied: dhcpcd/repos/core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 155701, dhcpcd/repos/testing-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch) === --- core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch (rev 0) +++ core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-04-05 10:02:36 UTC (rev 155703) @@ -0,0 +1,33 @@ +From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 +From: Dan McGee d...@archlinux.org +Date: Sun, 19 Jun 2011 16:04:25 -0500 +Subject: [PATCH] Set hostname via /proc if file is available + +On Linux, the hostname can be set via this file if available, precluding +the need for a `hostname` binary. + +Signed-off-by: Dan McGee d...@archlinux.org +--- + dhcpcd-hooks/30-hostname |6 +- + 1 files changed, 5 insertions(+), 1 deletions(-) + +diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +index 65d1a13..af94262 100644 +--- a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +@@ -21,7 +21,11 @@ need_hostname() + try_hostname() + { + if valid_domainname $1; then +- hostname $1 ++ if [ -w /proc/sys/kernel/hostname ]; then ++ echo $1 /proc/sys/kernel/hostname ++ else ++ hostname $1 ++ fi + else + syslog err Invalid hostname: $1 + fi +-- +1.7.5.4 + Deleted: core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch === --- core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-04-05 10:02:34 UTC (rev 155702) +++ core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-04-05 10:02:36 UTC (rev 155703) @@ -1,61 +0,0 @@ -From 950c00d1b183796034d227ef47a90eb248d79b72 Mon Sep 17
[arch-commits] Commit in dhcpcd/repos (11 files)
Date: Thursday, March 29, 2012 @ 13:58:39 Author: ronald Revision: 154509 db-move: moved dhcpcd from [testing] to [core] (i686) Added: dhcpcd/repos/core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 154508, dhcpcd/repos/testing-i686/0001-Set-hostname-via-proc-if-file-is-available.patch) dhcpcd/repos/core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch (from rev 154508, dhcpcd/repos/testing-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch) dhcpcd/repos/core-i686/PKGBUILD (from rev 154508, dhcpcd/repos/testing-i686/PKGBUILD) dhcpcd/repos/core-i686/dhcpcd.conf.d (from rev 154508, dhcpcd/repos/testing-i686/dhcpcd.conf.d) dhcpcd/repos/core-i686/remove_ifconfig.patch (from rev 154508, dhcpcd/repos/testing-i686/remove_ifconfig.patch) Deleted: dhcpcd/repos/core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch dhcpcd/repos/core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch dhcpcd/repos/core-i686/PKGBUILD dhcpcd/repos/core-i686/dhcpcd.conf.d dhcpcd/repos/core-i686/remove_ifconfig.patch dhcpcd/repos/testing-i686/ ---+ 0001-Set-hostname-via-proc-if-file-is-available.patch | 66 0001-set-MTU-via-sysfs-if-file-is-available.patch | 122 PKGBUILD | 113 +++--- dhcpcd.conf.d | 12 - remove_ifconfig.patch | 40 ++--- 5 files changed, 175 insertions(+), 178 deletions(-) Deleted: core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch === --- core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-03-29 17:30:54 UTC (rev 154508) +++ core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-03-29 17:58:39 UTC (rev 154509) @@ -1,33 +0,0 @@ -From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 -From: Dan McGee d...@archlinux.org -Date: Sun, 19 Jun 2011 16:04:25 -0500 -Subject: [PATCH] Set hostname via /proc if file is available - -On Linux, the hostname can be set via this file if available, precluding -the need for a `hostname` binary. - -Signed-off-by: Dan McGee d...@archlinux.org - dhcpcd-hooks/30-hostname |6 +- - 1 files changed, 5 insertions(+), 1 deletions(-) - -diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname -index 65d1a13..af94262 100644 a/dhcpcd-hooks/30-hostname -+++ b/dhcpcd-hooks/30-hostname -@@ -21,7 +21,11 @@ need_hostname() - try_hostname() - { - if valid_domainname $1; then -- hostname $1 -+ if [ -w /proc/sys/kernel/hostname ]; then -+ echo $1 /proc/sys/kernel/hostname -+ else -+ hostname $1 -+ fi - else - syslog err Invalid hostname: $1 - fi --- -1.7.5.4 - Copied: dhcpcd/repos/core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 154508, dhcpcd/repos/testing-i686/0001-Set-hostname-via-proc-if-file-is-available.patch) === --- core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch (rev 0) +++ core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-03-29 17:58:39 UTC (rev 154509) @@ -0,0 +1,33 @@ +From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 +From: Dan McGee d...@archlinux.org +Date: Sun, 19 Jun 2011 16:04:25 -0500 +Subject: [PATCH] Set hostname via /proc if file is available + +On Linux, the hostname can be set via this file if available, precluding +the need for a `hostname` binary. + +Signed-off-by: Dan McGee d...@archlinux.org +--- + dhcpcd-hooks/30-hostname |6 +- + 1 files changed, 5 insertions(+), 1 deletions(-) + +diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +index 65d1a13..af94262 100644 +--- a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +@@ -21,7 +21,11 @@ need_hostname() + try_hostname() + { + if valid_domainname $1; then +- hostname $1 ++ if [ -w /proc/sys/kernel/hostname ]; then ++ echo $1 /proc/sys/kernel/hostname ++ else ++ hostname $1 ++ fi + else + syslog err Invalid hostname: $1 + fi +-- +1.7.5.4 + Deleted: core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch === --- core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-03-29 17:30:54 UTC (rev 154508) +++ core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-03-29 17:58:39 UTC (rev 154509) @@ -1,61 +0,0 @@ -From 950c00d1b183796034d227ef47a90eb248d79b72 Mon Sep 17 00:00:00 2001 -From: Dave Reisner d...@falconindy.com
[arch-commits] Commit in dhcpcd/repos (11 files)
Date: Thursday, March 29, 2012 @ 13:58:41 Author: ronald Revision: 154510 db-move: moved dhcpcd from [testing] to [core] (x86_64) Added: dhcpcd/repos/core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 154508, dhcpcd/repos/testing-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch) dhcpcd/repos/core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch (from rev 154508, dhcpcd/repos/testing-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch) dhcpcd/repos/core-x86_64/PKGBUILD (from rev 154508, dhcpcd/repos/testing-x86_64/PKGBUILD) dhcpcd/repos/core-x86_64/dhcpcd.conf.d (from rev 154508, dhcpcd/repos/testing-x86_64/dhcpcd.conf.d) dhcpcd/repos/core-x86_64/remove_ifconfig.patch (from rev 154508, dhcpcd/repos/testing-x86_64/remove_ifconfig.patch) Deleted: dhcpcd/repos/core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch dhcpcd/repos/core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch dhcpcd/repos/core-x86_64/PKGBUILD dhcpcd/repos/core-x86_64/dhcpcd.conf.d dhcpcd/repos/core-x86_64/remove_ifconfig.patch dhcpcd/repos/testing-x86_64/ ---+ 0001-Set-hostname-via-proc-if-file-is-available.patch | 66 0001-set-MTU-via-sysfs-if-file-is-available.patch | 122 PKGBUILD | 113 +++--- dhcpcd.conf.d | 12 - remove_ifconfig.patch | 40 ++--- 5 files changed, 175 insertions(+), 178 deletions(-) Deleted: core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch === --- core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-03-29 17:58:39 UTC (rev 154509) +++ core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-03-29 17:58:41 UTC (rev 154510) @@ -1,33 +0,0 @@ -From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 -From: Dan McGee d...@archlinux.org -Date: Sun, 19 Jun 2011 16:04:25 -0500 -Subject: [PATCH] Set hostname via /proc if file is available - -On Linux, the hostname can be set via this file if available, precluding -the need for a `hostname` binary. - -Signed-off-by: Dan McGee d...@archlinux.org - dhcpcd-hooks/30-hostname |6 +- - 1 files changed, 5 insertions(+), 1 deletions(-) - -diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname -index 65d1a13..af94262 100644 a/dhcpcd-hooks/30-hostname -+++ b/dhcpcd-hooks/30-hostname -@@ -21,7 +21,11 @@ need_hostname() - try_hostname() - { - if valid_domainname $1; then -- hostname $1 -+ if [ -w /proc/sys/kernel/hostname ]; then -+ echo $1 /proc/sys/kernel/hostname -+ else -+ hostname $1 -+ fi - else - syslog err Invalid hostname: $1 - fi --- -1.7.5.4 - Copied: dhcpcd/repos/core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 154508, dhcpcd/repos/testing-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch) === --- core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch (rev 0) +++ core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-03-29 17:58:41 UTC (rev 154510) @@ -0,0 +1,33 @@ +From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 +From: Dan McGee d...@archlinux.org +Date: Sun, 19 Jun 2011 16:04:25 -0500 +Subject: [PATCH] Set hostname via /proc if file is available + +On Linux, the hostname can be set via this file if available, precluding +the need for a `hostname` binary. + +Signed-off-by: Dan McGee d...@archlinux.org +--- + dhcpcd-hooks/30-hostname |6 +- + 1 files changed, 5 insertions(+), 1 deletions(-) + +diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +index 65d1a13..af94262 100644 +--- a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +@@ -21,7 +21,11 @@ need_hostname() + try_hostname() + { + if valid_domainname $1; then +- hostname $1 ++ if [ -w /proc/sys/kernel/hostname ]; then ++ echo $1 /proc/sys/kernel/hostname ++ else ++ hostname $1 ++ fi + else + syslog err Invalid hostname: $1 + fi +-- +1.7.5.4 + Deleted: core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch === --- core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-03-29 17:58:39 UTC (rev 154509) +++ core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-03-29 17:58:41 UTC (rev 154510) @@ -1,61 +0,0 @@ -From 950c00d1b183796034d227ef47a90eb248d79b72 Mon Sep 17
[arch-commits] Commit in dhcpcd/repos (11 files)
Date: Monday, February 13, 2012 @ 10:50:02 Author: ronald Revision: 150153 db-move: moved dhcpcd from [testing] to [core] (i686) Added: dhcpcd/repos/core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 150152, dhcpcd/repos/testing-i686/0001-Set-hostname-via-proc-if-file-is-available.patch) dhcpcd/repos/core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch (from rev 150152, dhcpcd/repos/testing-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch) dhcpcd/repos/core-i686/PKGBUILD (from rev 150152, dhcpcd/repos/testing-i686/PKGBUILD) dhcpcd/repos/core-i686/dhcpcd.conf.d (from rev 150152, dhcpcd/repos/testing-i686/dhcpcd.conf.d) dhcpcd/repos/core-i686/remove_ifconfig.patch (from rev 150152, dhcpcd/repos/testing-i686/remove_ifconfig.patch) Deleted: dhcpcd/repos/core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch dhcpcd/repos/core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch dhcpcd/repos/core-i686/PKGBUILD dhcpcd/repos/core-i686/dhcpcd.conf.d dhcpcd/repos/core-i686/remove_ifconfig.patch dhcpcd/repos/testing-i686/ ---+ 0001-Set-hostname-via-proc-if-file-is-available.patch | 66 0001-set-MTU-via-sysfs-if-file-is-available.patch | 122 PKGBUILD | 115 +++ dhcpcd.conf.d | 12 - remove_ifconfig.patch | 40 ++--- 5 files changed, 178 insertions(+), 177 deletions(-) Deleted: core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch === --- core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-02-13 15:39:56 UTC (rev 150152) +++ core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-02-13 15:50:02 UTC (rev 150153) @@ -1,33 +0,0 @@ -From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 -From: Dan McGee d...@archlinux.org -Date: Sun, 19 Jun 2011 16:04:25 -0500 -Subject: [PATCH] Set hostname via /proc if file is available - -On Linux, the hostname can be set via this file if available, precluding -the need for a `hostname` binary. - -Signed-off-by: Dan McGee d...@archlinux.org - dhcpcd-hooks/30-hostname |6 +- - 1 files changed, 5 insertions(+), 1 deletions(-) - -diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname -index 65d1a13..af94262 100644 a/dhcpcd-hooks/30-hostname -+++ b/dhcpcd-hooks/30-hostname -@@ -21,7 +21,11 @@ need_hostname() - try_hostname() - { - if valid_domainname $1; then -- hostname $1 -+ if [ -w /proc/sys/kernel/hostname ]; then -+ echo $1 /proc/sys/kernel/hostname -+ else -+ hostname $1 -+ fi - else - syslog err Invalid hostname: $1 - fi --- -1.7.5.4 - Copied: dhcpcd/repos/core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 150152, dhcpcd/repos/testing-i686/0001-Set-hostname-via-proc-if-file-is-available.patch) === --- core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch (rev 0) +++ core-i686/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-02-13 15:50:02 UTC (rev 150153) @@ -0,0 +1,33 @@ +From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 +From: Dan McGee d...@archlinux.org +Date: Sun, 19 Jun 2011 16:04:25 -0500 +Subject: [PATCH] Set hostname via /proc if file is available + +On Linux, the hostname can be set via this file if available, precluding +the need for a `hostname` binary. + +Signed-off-by: Dan McGee d...@archlinux.org +--- + dhcpcd-hooks/30-hostname |6 +- + 1 files changed, 5 insertions(+), 1 deletions(-) + +diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +index 65d1a13..af94262 100644 +--- a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +@@ -21,7 +21,11 @@ need_hostname() + try_hostname() + { + if valid_domainname $1; then +- hostname $1 ++ if [ -w /proc/sys/kernel/hostname ]; then ++ echo $1 /proc/sys/kernel/hostname ++ else ++ hostname $1 ++ fi + else + syslog err Invalid hostname: $1 + fi +-- +1.7.5.4 + Deleted: core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch === --- core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-02-13 15:39:56 UTC (rev 150152) +++ core-i686/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-02-13 15:50:02 UTC (rev 150153) @@ -1,61 +0,0 @@ -From 950c00d1b183796034d227ef47a90eb248d79b72 Mon Sep 17 00:00:00 2001 -From: Dave Reisner d...@falconindy.com
[arch-commits] Commit in dhcpcd/repos (11 files)
Date: Monday, February 13, 2012 @ 10:50:03 Author: ronald Revision: 150154 db-move: moved dhcpcd from [testing] to [core] (x86_64) Added: dhcpcd/repos/core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 150152, dhcpcd/repos/testing-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch) dhcpcd/repos/core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch (from rev 150152, dhcpcd/repos/testing-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch) dhcpcd/repos/core-x86_64/PKGBUILD (from rev 150152, dhcpcd/repos/testing-x86_64/PKGBUILD) dhcpcd/repos/core-x86_64/dhcpcd.conf.d (from rev 150152, dhcpcd/repos/testing-x86_64/dhcpcd.conf.d) dhcpcd/repos/core-x86_64/remove_ifconfig.patch (from rev 150152, dhcpcd/repos/testing-x86_64/remove_ifconfig.patch) Deleted: dhcpcd/repos/core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch dhcpcd/repos/core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch dhcpcd/repos/core-x86_64/PKGBUILD dhcpcd/repos/core-x86_64/dhcpcd.conf.d dhcpcd/repos/core-x86_64/remove_ifconfig.patch dhcpcd/repos/testing-x86_64/ ---+ 0001-Set-hostname-via-proc-if-file-is-available.patch | 66 0001-set-MTU-via-sysfs-if-file-is-available.patch | 122 PKGBUILD | 115 +++ dhcpcd.conf.d | 12 - remove_ifconfig.patch | 40 ++--- 5 files changed, 178 insertions(+), 177 deletions(-) Deleted: core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch === --- core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-02-13 15:50:02 UTC (rev 150153) +++ core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-02-13 15:50:03 UTC (rev 150154) @@ -1,33 +0,0 @@ -From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 -From: Dan McGee d...@archlinux.org -Date: Sun, 19 Jun 2011 16:04:25 -0500 -Subject: [PATCH] Set hostname via /proc if file is available - -On Linux, the hostname can be set via this file if available, precluding -the need for a `hostname` binary. - -Signed-off-by: Dan McGee d...@archlinux.org - dhcpcd-hooks/30-hostname |6 +- - 1 files changed, 5 insertions(+), 1 deletions(-) - -diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname -index 65d1a13..af94262 100644 a/dhcpcd-hooks/30-hostname -+++ b/dhcpcd-hooks/30-hostname -@@ -21,7 +21,11 @@ need_hostname() - try_hostname() - { - if valid_domainname $1; then -- hostname $1 -+ if [ -w /proc/sys/kernel/hostname ]; then -+ echo $1 /proc/sys/kernel/hostname -+ else -+ hostname $1 -+ fi - else - syslog err Invalid hostname: $1 - fi --- -1.7.5.4 - Copied: dhcpcd/repos/core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch (from rev 150152, dhcpcd/repos/testing-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch) === --- core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch (rev 0) +++ core-x86_64/0001-Set-hostname-via-proc-if-file-is-available.patch 2012-02-13 15:50:03 UTC (rev 150154) @@ -0,0 +1,33 @@ +From d345b36b483fec8fb2def5f3acdc2d3c5faa94eb Mon Sep 17 00:00:00 2001 +From: Dan McGee d...@archlinux.org +Date: Sun, 19 Jun 2011 16:04:25 -0500 +Subject: [PATCH] Set hostname via /proc if file is available + +On Linux, the hostname can be set via this file if available, precluding +the need for a `hostname` binary. + +Signed-off-by: Dan McGee d...@archlinux.org +--- + dhcpcd-hooks/30-hostname |6 +- + 1 files changed, 5 insertions(+), 1 deletions(-) + +diff --git a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +index 65d1a13..af94262 100644 +--- a/dhcpcd-hooks/30-hostname b/dhcpcd-hooks/30-hostname +@@ -21,7 +21,11 @@ need_hostname() + try_hostname() + { + if valid_domainname $1; then +- hostname $1 ++ if [ -w /proc/sys/kernel/hostname ]; then ++ echo $1 /proc/sys/kernel/hostname ++ else ++ hostname $1 ++ fi + else + syslog err Invalid hostname: $1 + fi +-- +1.7.5.4 + Deleted: core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch === --- core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-02-13 15:50:02 UTC (rev 150153) +++ core-x86_64/0001-set-MTU-via-sysfs-if-file-is-available.patch 2012-02-13 15:50:03 UTC (rev 150154) @@ -1,61 +0,0 @@ -From 950c00d1b183796034d227ef47a90eb248d79b72 Mon Sep