mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Create symlink for /etc/group. MAKEDEV file will use this file (group name
to gid conversion). PR: 43455 Submitted by: n-kogane@syd.odn.ad.jp X-MFC after: immediately if re@ permits, or after 4.7-RELEASE is out
This commit is contained in:
parent
1cff889a46
commit
069f4a6841
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104093
@ -443,6 +443,7 @@ fixit_common(void)
|
||||
msgConfirm("Unable to create an /etc directory! Things are weird on this floppy..");
|
||||
else if ((symlink("/mnt2/etc/spwd.db", "/etc/spwd.db") == -1 && errno != EEXIST) ||
|
||||
(symlink("/mnt2/etc/protocols", "/etc/protocols") == -1 && errno != EEXIST) ||
|
||||
(symlink("/mnt2/etc/group", "/etc/group") == -1 && errno != EEXIST) ||
|
||||
(symlink("/mnt2/etc/services", "/etc/services") == -1 && errno != EEXIST))
|
||||
msgConfirm("Couldn't symlink the /etc/ files! I'm not sure I like this..");
|
||||
if (!file_readable(TERMCAP_FILE))
|
||||
|
@ -443,6 +443,7 @@ fixit_common(void)
|
||||
msgConfirm("Unable to create an /etc directory! Things are weird on this floppy..");
|
||||
else if ((symlink("/mnt2/etc/spwd.db", "/etc/spwd.db") == -1 && errno != EEXIST) ||
|
||||
(symlink("/mnt2/etc/protocols", "/etc/protocols") == -1 && errno != EEXIST) ||
|
||||
(symlink("/mnt2/etc/group", "/etc/group") == -1 && errno != EEXIST) ||
|
||||
(symlink("/mnt2/etc/services", "/etc/services") == -1 && errno != EEXIST))
|
||||
msgConfirm("Couldn't symlink the /etc/ files! I'm not sure I like this..");
|
||||
if (!file_readable(TERMCAP_FILE))
|
||||
|
Loading…
Reference in New Issue
Block a user