Browse Source

copy hostname to /target/etc/mailname

r7008
master
Gaudenz Steinlin 19 years ago
parent
commit
2a34eb19c6
  1. 7
      debian/changelog
  2. 2
      netcfg-common.c
  3. 1
      netcfg.h

7
debian/changelog

@ -4,12 +4,13 @@ netcfg (0.37) UNRELEASED; urgency=low
- Code cleanup.
* Gaudenz Steinlin
- prefer udhcpc to pump (Closes: #224663)
* Bart Cornelis
- copy hostname to /target/etc/mailname (Closes: #212143)
* Bart Cornelis
- Merged Norwegian Bokmael (nb.po) translation from skolelinux-cvs
* Jure Cuhalev
- Added/updated slovenian translation (sl.po).
- Added/updated slovenian translation (sl.po).
-- Gaudenz Steinlin <gaudenz@soziologie.ch> Tue, 23 Dec 2003 13:51:10 +0100
-- Gaudenz Steinlin <gaudenz@soziologie.ch> Wed, 24 Dec 2003 01:07:52 +0100
netcfg (0.36) unstable; urgency=low

2
netcfg-common.c

@ -456,6 +456,8 @@ void netcfg_write_common(const char *prebaseconfig, u_int32_t ipaddress,
di_system_prebaseconfig_append(prebaseconfig, "cp %s %s\n",
HOSTS_FILE, "/target" HOSTS_FILE);
di_system_prebaseconfig_append(prebaseconfig, "cp %s %s\n",
HOSTS_FILE, "/target" MAIL_FILE);
}
if ((fp = file_open(RESOLV_FILE, "w"))) {

1
netcfg.h

@ -9,6 +9,7 @@
#define DHCPCD_DIR "/etc/dhcpc"
#define INTERFACES_FILE "/etc/network/interfaces"
#define HOSTS_FILE "/etc/hosts"
#define MAIL_FILE "/etc/mailname"
#define NETWORKS_FILE "/etc/networks"
#define RESOLV_FILE "/etc/resolv.conf"
#define DHCPCD_FILE "/etc/dhcpc/config"

Loading…
Cancel
Save