source: bootscripts-standard/netboot/rc.0 @ 1680407

Last change on this file since 1680407 was 1680407, checked in by Jim Gifford <clfs@…>, 17 years ago

Added Netboot Scripts

  • Property mode set to 100755
File size: 717 bytes
Line 
1#!/bin/sh
2########################################################################
3# Begin /rc.0
4#
5# Description : Modified Bootscript for NFSRoot booting
6#
7# Authors     : Jim Gifford - jim@linuxfromscratch.org
8#
9# Version     : 00.00
10#
11# Notes       :
12#
13########################################################################
14
15export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
16
17echo "Sending all processes the TERM signal"
18killall5 -15
19
20echo "Sending all processes the KILL signal"
21killall5 -9
22
23echo "Syncing file systems"
24sync
25
26echo "Setting System Clock"
27hwclock --systohc --utc
28
29echo "Unmounting all other currently mounted file systems"
30umount -a -d -r &
31
32echo "Halting System"
33halt -d -f -i -p
Note: See TracBrowser for help on using the repository browser.