summaryrefslogtreecommitdiff
path: root/hostname-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'hostname-setup.c')
-rw-r--r--hostname-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hostname-setup.c b/hostname-setup.c
index 71a3f75bd9..3b988d4c8b 100644
--- a/hostname-setup.c
+++ b/hostname-setup.c
@@ -34,7 +34,7 @@
#if defined(TARGET_FEDORA)
#define FILENAME "/etc/sysconfig/network"
-#elif defined(TARGET_SUSE)
+#elif defined(TARGET_SUSE) || defined(TARGET_SLACKWARE)
#define FILENAME "/etc/HOSTNAME"
#elif defined(TARGET_DEBIAN)
#define FILENAME "/etc/hostname"
@@ -111,7 +111,7 @@ finish:
fclose(f);
return r;
-#elif defined(TARGET_SUSE) || defined(TARGET_DEBIAN)
+#elif defined(TARGET_SUSE) || defined(TARGET_DEBIAN) || defined(TARGET_SLACKWARE)
int r;
char *s, *k;