Changeset 2705


Ignore:
Timestamp:
Jan 27, 2011, 7:31:28 PM (8 years ago)
Author:
bruno
Message:

r4181@localhost: bruno | 2011-01-27 10:47:55 +0100

  • restore back the IP conf of the client for NFS usage
Location:
branches/2.2.10
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/mindi

    r2704 r2705  
    933933    AddFileToCfgIfExists $MINDI_TMP/NETFS-SERVER-PATH   netfs-server-path   $outfile
    934934    AddFileToCfgIfExists $MINDI_TMP/NETFS-DEV           netfs-dev           $outfile
     935    AddFileToCfgIfExists $MINDI_TMP/NETFS-CLIENT-IPADDR netfs-client-ipaddr $outfile
     936    AddFileToCfgIfExists $MINDI_TMP/NETFS-CLIENT-NETMASK netfs-client-netmask $outfile
     937    AddFileToCfgIfExists $MINDI_TMP/NETFS-CLIENT-BROADCAST netfs-client-broadcast $outfile
     938    AddFileToCfgIfExists $MINDI_TMP/NETFS-CLIENT-DEFGW  netfs-client-defgw  $outfile
    935939    AddFileToCfgIfExists $MINDI_TMP/BOOTLOADER.DEVICE bootloader.device $outfile
    936940    AddFileToCfgIfExists $MINDI_TMP/BOOTLOADER.NAME   bootloader.name   $outfile
  • branches/2.2.10/mondo/src/common/libmondo-files.c

    r2704 r2705  
    11551155    mr_free(tmp);
    11561156
     1157    mr_asprintf(tmp, "%s/NETFS-CLIENT-IPADDR", bkpinfo->tmpdir);
     1158    write_one_liner_data_file(tmp, netfs_client_ipaddr);
     1159    mr_free(tmp);
     1160
     1161    mr_asprintf(tmp, "%s/NETFS-CLIENT-NETMASK", bkpinfo->tmpdir);
     1162    write_one_liner_data_file(tmp, netfs_client_netmask);
     1163    mr_free(tmp);
     1164
     1165    mr_asprintf(tmp, "%s/NETFS-CLIENT-BROADCAST", bkpinfo->tmpdir);
     1166    write_one_liner_data_file(tmp, netfs_client_broadcast);
     1167    mr_free(tmp);
     1168
     1169    mr_asprintf(tmp, "%s/NETFS-CLIENT-DEFGW", bkpinfo->tmpdir);
     1170    write_one_liner_data_file(tmp, netfs_client_defgw);
     1171    mr_free(tmp);
     1172
    11571173    log_it("Finished storing Network configuration");
    11581174}
Note: See TracChangeset for help on using the changeset viewer.