1/*
2 * Copyright (c) 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 130 unchanged lines hidden (view full) ---
139#ifdef ISO
140 struct sockaddr_iso isoaddr, isopeer;
141#endif
142 fd_set ready, sockbits;
143 int ch, cltpflag, connect_type_cnt, i, len, maxsock, msgsock;
144 int nfsdcnt, nfssvc_flag, on, reregister, sock, tcpflag, tcpsock;
145 int tp4cnt, tp4flag, tp4sock, tpipcnt, tpipflag, tpipsock, udpflag;
146 char *cp, **cpp;
147 struct vfsconf *vfc;
148
149 vfc = getvfsbyname("nfs");
150 if(!vfc && vfsisloadable("nfs")) {
151 if(vfsload("nfs"))
152 err(1, "vfsload(nfs)");
153 endvfsent(); /* flush cache */
154 vfc = getvfsbyname("nfs"); /* probably unnecessary */
155 }
156 if(!vfc) {
157 errx(1, "NFS is not available in the running kernel");
158 }
159
160 /* Save start and extent of argv for setproctitle. */
161 Argv = argv;
162 if (envp == 0 || *envp == 0)
163 envp = argv;
164 while (*envp)
165 envp++;
166 LastArg = envp[-1] + strlen(envp[-1]);
167
--- 434 unchanged lines hidden ---
2 * Copyright (c) 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without
--- 130 unchanged lines hidden (view full) ---
139#ifdef ISO
140 struct sockaddr_iso isoaddr, isopeer;
141#endif
142 fd_set ready, sockbits;
143 int ch, cltpflag, connect_type_cnt, i, len, maxsock, msgsock;
144 int nfsdcnt, nfssvc_flag, on, reregister, sock, tcpflag, tcpsock;
145 int tp4cnt, tp4flag, tp4sock, tpipcnt, tpipflag, tpipsock, udpflag;
146 char *cp, **cpp;
147 struct vfsconf *vfc;
148
149 vfc = getvfsbyname("nfs");
150 if(!vfc && vfsisloadable("nfs")) {
151 if(vfsload("nfs"))
152 err(1, "vfsload(nfs)");
153 endvfsent(); /* flush cache */
154 vfc = getvfsbyname("nfs"); /* probably unnecessary */
155 }
156 if(!vfc) {
157 errx(1, "NFS is not available in the running kernel");
158 }
159
160 /* Save start and extent of argv for setproctitle. */
161 Argv = argv;
162 if (envp == 0 || *envp == 0)
163 envp = argv;
164 while (*envp)
165 envp++;
166 LastArg = envp[-1] + strlen(envp[-1]);
167
--- 434 unchanged lines hidden ---