[1654] in Moira
Another silly patch: gen/dhcp.pc
daemon@ATHENA.MIT.EDU (Nick Martin)
Thu Aug 17 01:49:30 2000
Date: Thu, 17 Aug 2000 01:49:27 -0400
From: Nick Martin <nim@MIT.EDU>
To: moiradev@MIT.EDU
Message-Id: <20000817014927.C4314@piku.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
dhcp.sh and dhcp.gen disagreed on file names. This was bad, as the
print file didnt get sucked into the final config file.
Index: dhcp.pc
===================================================================
RCS file: /mit/moiradev/repository/moira/gen/dhcp.pc,v
retrieving revision 1.1
diff -c -r1.1 dhcp.pc
*** dhcp.pc 2000/07/27 02:13:34 1.1
--- dhcp.pc 2000/08/17 05:41:48
***************
*** 80,88 ****
sprintf(filename, "%s/dhcp.out", DCM_DIR);
tf = tarfile_open(filename);
! /* Build dhcp.conf.print */
! out = tarfile_start(tf, "/var/boot/dhcp.conf.print", 0755, 0, 0,
"root", "root", now);
ohwaddr[0] = '\0';
EXEC SQL DECLARE csr_boot CURSOR FOR
--- 80,88 ----
sprintf(filename, "%s/dhcp.out", DCM_DIR);
tf = tarfile_open(filename);
! /* Build dhcpd.conf.print */
! out = tarfile_start(tf, "/var/boot/dhcpd.conf.print", 0755, 0, 0,
"root", "root", now);
ohwaddr[0] = '\0';
EXEC SQL DECLARE csr_boot CURSOR FOR
--
Nick Martin, nim@mit.edu, http://www.nimlabs.com