mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
2002-10-02 Eric Norum <eric.norum@usask.ca>
* rtems/mkrootfs.c: As part of PR283, remove redundant code that creates /etc/passwd and /etc/group.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-10-02 Eric Norum <eric.norum@usask.ca>
|
||||
|
||||
* rtems/mkrootfs.c: As part of PR283, remove redundant code that
|
||||
creates /etc/passwd and /etc/group.
|
||||
|
||||
2002-09-16 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* netinet/Makefile.am, netinet/udp_usrreq.c: Back off some of
|
||||
|
||||
@@ -310,21 +310,6 @@ rtems_create_root_fs ()
|
||||
default_directories[i].mode))
|
||||
return -1;
|
||||
|
||||
/*
|
||||
* /etc/passwd, /etc/group
|
||||
* Maybe needed by some tools.
|
||||
*/
|
||||
|
||||
lines[0] = "root::0:0:root:/root:/bin/sh\n";
|
||||
|
||||
if (rtems_rootfs_file_append ("/etc/passwd", MKFILE_MODE, 1, lines))
|
||||
return -1;
|
||||
|
||||
lines[0] = "root::0:root\n";
|
||||
|
||||
if (rtems_rootfs_file_append ("/etc/group", MKFILE_MODE, 1, lines))
|
||||
return -1;
|
||||
|
||||
/*
|
||||
* The TCP/IP stack likes this one. If DNS does not work
|
||||
* use the host file.
|
||||
|
||||
Reference in New Issue
Block a user