home *** CD-ROM | disk | FTP | other *** search
/ Chip 1994 February / CHIP0294.ISO / digital / test / linux / bootdisk / rootdisk.18 / etc / rc.d / rc.M < prev    next >
Encoding:
Text File  |  1994-06-08  |  598 b   |  24 lines

  1. #! /bin/sh
  2. #
  3. # rc.M        This file is executed by init(8) when the system is being
  4. #        initialized for one of the "multi user" run levels (i.e.
  5. #        levels 1 through 6).  It usually does mounting of file
  6. #        systems et al.
  7. #
  8. # Version:    @(#)/etc/rc.d/rc.M    2.02    02/26/93
  9. #
  10. # Author:    Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
  11. #
  12.  
  13. # Tell the viewers what's going to happen...
  14. echo "Starte Multiuser Modus..."
  15.  
  16. # Set hostname   
  17. /sbin/hostname_notcp `cat /etc/HOSTNAME | cut -f1 -d .`
  18. /bin/domainname `cat /etc/HOSTNAME | cut -f2- -d .`
  19.  
  20. # Start the local setup procedure.
  21. /etc/rc.d/rc.local
  22.  
  23. # All done.
  24.