[systemd-commits] src/hostname-setup.c
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Oct 10 17:47:46 PDT 2011
src/hostname-setup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b5dc29c079bd8dbeb5cb86e6b1a5906bfeb49e90
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Tue Sep 27 20:45:51 2011 +0200
hostname-setup: Frugalware switched to /etc/hostname
diff --git a/src/hostname-setup.c b/src/hostname-setup.c
index 57db9fb..7216b75 100644
--- a/src/hostname-setup.c
+++ b/src/hostname-setup.c
@@ -32,7 +32,7 @@
#if defined(TARGET_FEDORA) || defined(TARGET_ALTLINUX) || defined(TARGET_MANDRIVA) || defined(TARGET_MEEGO)
#define FILENAME "/etc/sysconfig/network"
-#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE) || defined(TARGET_FRUGALWARE)
+#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE)
#define FILENAME "/etc/HOSTNAME"
#elif defined(TARGET_ARCH)
#define FILENAME "/etc/rc.conf"
@@ -114,7 +114,7 @@ finish:
fclose(f);
return r;
-#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE) || defined(TARGET_FRUGALWARE)
+#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE)
return read_and_strip_hostname(FILENAME, hn);
#else
return -ENOENT;
More information about the systemd-commits
mailing list