Changeset bcac0cb in rtems


Ignore:
Timestamp:
Oct 2, 2002, 5:34:28 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
6ca248c
Parents:
ed8c513
Message:

2002-10-02 Eric Norum <eric.norum@…>

  • rtems/mkrootfs.c: As part of PR283, remove redundant code that creates /etc/passwd and /etc/group.
Location:
cpukit/libnetworking
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/ChangeLog

    red8c513 rbcac0cb  
     12002-10-02      Eric Norum <eric.norum@usask.ca>
     2
     3        * rtems/mkrootfs.c: As part of PR283, remove redundant code that
     4        creates /etc/passwd and /etc/group.
     5
    162002-09-16      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/libnetworking/rtems/mkrootfs.c

    red8c513 rbcac0cb  
    312312
    313313  /*
    314    * /etc/passwd, /etc/group
    315    * Maybe needed by some tools.
    316    */
    317 
    318   lines[0] = "root::0:0:root:/root:/bin/sh\n";
    319  
    320   if (rtems_rootfs_file_append ("/etc/passwd", MKFILE_MODE, 1, lines))
    321     return -1;
    322  
    323   lines[0] = "root::0:root\n";
    324  
    325   if (rtems_rootfs_file_append ("/etc/group", MKFILE_MODE, 1, lines))
    326     return -1;
    327 
    328   /*
    329314   * The TCP/IP stack likes this one. If DNS does not work
    330315   * use the host file.
Note: See TracChangeset for help on using the changeset viewer.