diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2010-11-29 14:42:10 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-11-29 17:07:41 +0100 |
commit | f5c88ec1330b61787441156de7d764a140774bd2 (patch) | |
tree | 4e066f0bbaf3a7431706aa20ee5b164819105703 /src/hostname-setup.c | |
parent | 3d428115cf27d22e93faa988109f765dfcd600b9 (diff) |
build-sys: frugalware linux support
Diffstat (limited to 'src/hostname-setup.c')
-rw-r--r-- | src/hostname-setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostname-setup.c b/src/hostname-setup.c index ce7d2a1c11..0428a64fea 100644 --- a/src/hostname-setup.c +++ b/src/hostname-setup.c @@ -32,7 +32,7 @@ #if defined(TARGET_FEDORA) #define FILENAME "/etc/sysconfig/network" -#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE) +#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE) || defined(TARGET_FRUGALWARE) #define FILENAME "/etc/HOSTNAME" #elif defined(TARGET_ARCH) #define FILENAME "/etc/rc.conf" @@ -137,7 +137,7 @@ finish: fclose(f); return r; -#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE) +#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE) || defined(TARGET_FRUGALWARE) return read_and_strip_hostname(FILENAME, hn); #else return -ENOENT; |