diff options
| author | Bill Nottingham <notting@redhat.com> | 2001-09-21 15:58:58 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2001-09-21 15:58:58 +0000 |
| commit | 8efba0500dd67a6bfe3b0a30a64061cf585dd293 (patch) | |
| tree | 373025715db82c1a3de82efb0b137d0dca6357e7 /rc.d/rc | |
| parent | 11f176d4896e418b12da2cb9c9d420390cd16cdc (diff) | |
Backport some fixes from the 7.2 branch:
- unmounting of loopback devices
- unmounting of /initrd
- don't blow up on ext3/reiserfs in /etc/init.d/halt
- module alias determination fixes
- quota tweaks
Diffstat (limited to 'rc.d/rc')
| -rwxr-xr-x | rc.d/rc | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -98,7 +98,15 @@ if [ -d /etc/rc$runlevel.d ]; then # Bring the subsystem up. if egrep -q "(daemon |action )" $i ; then - $i start + if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then + unset LANG + unset LC_ALL + unset TEXTDOMAIN + unset TEXTDOMAINDIR + exec $i start + else + $i start + fi else if [ "$subsys" = "halt" -o "$subsys" = "reboot" -o "$subsys" = "single" -o "$subsys" = "local" ]; then if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then |
