[Usbmount-commit] r70 - usbmount/trunk
Rogério Brito
rbrito-guest at alioth.debian.org
Mon Oct 26 17:50:11 UTC 2009
Author: rbrito-guest
Date: 2009-10-26 17:50:11 +0000 (Mon, 26 Oct 2009)
New Revision: 70
Modified:
usbmount/trunk/usbmount
Log:
Delete comments obvious from the code.
Modified: usbmount/trunk/usbmount
===================================================================
--- usbmount/trunk/usbmount 2009-10-26 17:48:19 UTC (rev 69)
+++ usbmount/trunk/usbmount 2009-10-26 17:50:11 UTC (rev 70)
@@ -50,19 +50,16 @@
FS_MOUNTOPTIONS=""
VERBOSE="no"
-# Read configuration file.
if [ -r /etc/usbmount/usbmount.conf ]; then
. /etc/usbmount/usbmount.conf
log debug "loaded usbmount configurations"
fi
-# Check if usbmount should be run.
if [ "${ENABLED:-1}" -eq "0" ]; then
log info "usbmount is disabled, see /etc/usbmount/usbmount.conf"
exit 0
fi
-# Test if blkid is executable.
if [ ! -x /sbin/blkid ]; then
log err "cannot execute /sbin/blkid"
exit 1
@@ -77,6 +74,7 @@
umask 022
+
if [ "$1" = "add" ]; then
# Acquire lock.
More information about the Usbmount-commit
mailing list