make sure that the pseudo_set isn't empty.
[unix-history] / sys / kern / kern_xxx.c
index e20dc41..8fe70c8 100644 (file)
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  *
  *     from: @(#)kern_xxx.c    7.17 (Berkeley) 4/20/91
  * SUCH DAMAGE.
  *
  *     from: @(#)kern_xxx.c    7.17 (Berkeley) 4/20/91
- *     $Id: kern_xxx.c,v 1.5 1993/10/24 06:19:56 paul Exp $
+ *     $Id: kern_xxx.c,v 1.6 1993/11/25 01:33:15 wollman Exp $
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -199,3 +199,16 @@ oquota()
        return (ENOSYS);
 }
 #endif
        return (ENOSYS);
 }
 #endif
+
+
+void
+shutdown_nice(void)
+{
+       register struct proc *p;
+
+       /* Send a signal to init(8) and have it shutdown the world */
+       p = pfind(1);
+       psignal(p, SIGINT);
+
+       return;
+}