blob: 07adab6dde4b9a6370e610aec100e53213900ba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
Index: init.d/halt.sh
===================================================================
--- init.d/halt.sh (revision 1479)
+++ init.d/halt.sh (working copy)
@@ -148,6 +148,9 @@
x=${x//\\040/ }
if ! umount "${x}" &>/dev/null; then
+ # If its /usr, just ignore it .. we will mount it ro below ...
+ # This is to prevent killing bash on systems using locales.
+ [[ ${x} == "/usr" ]] && continue
# Kill processes still using this mount
/bin/fuser -k -m -9 "${x}" &>/dev/null
sleep 2
|