From 523f5243860c40ec5c7a3e961080d6035dbcb435 Mon Sep 17 00:00:00 2001 From: matusita Date: Sat, 28 Sep 2002 17:06:07 +0000 Subject: 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 --- usr.sbin/sysinstall/install.c | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.sbin/sysinstall') 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)) -- cgit v1.1