diff options
author | matusita <matusita@FreeBSD.org> | 2002-09-28 17:06:07 +0000 |
---|---|---|
committer | matusita <matusita@FreeBSD.org> | 2002-09-28 17:06:07 +0000 |
commit | 523f5243860c40ec5c7a3e961080d6035dbcb435 (patch) | |
tree | ab434604fe89b62a698325a6cc55baec98675af0 | |
parent | e274a128a91299b7a46c0d540899fba943c1dc34 (diff) | |
download | FreeBSD-src-523f5243860c40ec5c7a3e961080d6035dbcb435.zip FreeBSD-src-523f5243860c40ec5c7a3e961080d6035dbcb435.tar.gz |
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
-rw-r--r-- | usr.sbin/sade/install.c | 1 | ||||
-rw-r--r-- | usr.sbin/sysinstall/install.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index d54d7f6..9ab38a4 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -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)) diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index d54d7f6..9ab38a4 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -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)) |