Last change
on this file since a483775 was 7df280d, checked in by Joe Ciccone <jciccone@…>, 17 years ago |
Change /bin/sh to /bin/bash in the bootscripts because the bootscripts use bashisms. Having ash linked to sh will cause errors. Thanks to Bigdassaved for providing the diff and Copper for bring up the issue.
|
-
Property mode
set to
100755
|
File size:
719 bytes
|
Rev | Line | |
---|
[7df280d] | 1 | #!/bin/bash
|
---|
[1680407] | 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 |
|
---|
| 15 | export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
|
---|
| 16 |
|
---|
| 17 | echo "Sending all processes the TERM signal"
|
---|
| 18 | killall5 -15
|
---|
| 19 |
|
---|
| 20 | echo "Sending all processes the KILL signal"
|
---|
| 21 | killall5 -9
|
---|
| 22 |
|
---|
| 23 | echo "Syncing file systems"
|
---|
| 24 | sync
|
---|
| 25 |
|
---|
| 26 | echo "Setting System Clock"
|
---|
| 27 | hwclock --systohc --utc
|
---|
| 28 |
|
---|
| 29 | echo "Unmounting all other currently mounted file systems"
|
---|
| 30 | umount -a -d -r &
|
---|
| 31 |
|
---|
| 32 | echo "Halting System"
|
---|
| 33 | halt -d -f -i -p
|
---|
Note:
See
TracBrowser
for help on using the repository browser.