home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / armlinux / alpha / PARTITIONS / ROOT_GZ / root / etc / rc.d / rc.K < prev    next >
Encoding:
Text File  |  1995-06-16  |  441 b   |  19 lines

  1. #! /bin/sh
  2. #
  3. # rc.K        This file is executed by init(8) when the system is being
  4. #        brought down to single user mode. It reverses things
  5. #        set up by rc.M, such as unmounting file systems.
  6. #
  7. # Version:    @(#)/etc/rc.d/rc.S    1.01    03/10/93
  8. #
  9. # Author:    Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
  10. #
  11.  
  12. # Stop swapping
  13. #  /sbin/swapoff -a
  14.  
  15. # Unmount all file systems
  16. #  /sbin/umount -a
  17.  
  18. exec /bin/login -f root < /dev/tty1 2>&1 > /dev/tty1
  19.