[Pkg-sysvinit-commits] r448 -
sysvinit/trunk/debian/initscripts/etc/init.d
Thomas Hood
jdthood-guest at costa.debian.org
Sat Dec 24 20:27:55 UTC 2005
Author: jdthood-guest
Date: 2005-12-24 20:27:55 +0000 (Sat, 24 Dec 2005)
New Revision: 448
Modified:
sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh
sysvinit/trunk/debian/initscripts/etc/init.d/mountnfs.sh
Log:
Add LANG=C and do some thing to mountnfs
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh 2005-12-24 20:21:39 UTC (rev 447)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh 2005-12-24 20:27:55 UTC (rev 448)
@@ -44,7 +44,7 @@
fi
else
log_action_begin_msg "Mounting local filesystems"
- MOUNT_OUT="$(do_mount)"
+ MOUNT_OUT="$(LANG=C do_mount)"
ES=$?
echo "$MOUNT_OUT" | sed -e '/already mounted/d' -e '/nothing was mounted/d'
if [ 0 = "$ES" ] || [ 96 = "$ES" ] || [ 64 = "$ES" ]
Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountnfs.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountnfs.sh 2005-12-24 20:21:39 UTC (rev 447)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountnfs.sh 2005-12-24 20:27:55 UTC (rev 448)
@@ -110,8 +110,9 @@
fi
else
log_action_begin_msg "Mounting remote filesystems"
- do_mount >/dev/null
+ MOUNT_OUT="$(LANG=C do_mount)"
ES=$?
+ echo "$MOUNT_OUT" | sed -e '/already mounted/d' -e '/nothing was mounted/d'
if [ 0 = "$ES" ] || [ 96 = "$ES" ] || [ 64 = "$ES" ]
then
log_action_end_msg 0
More information about the Pkg-sysvinit-commits
mailing list