Our init scripts normally output context in [ .. ]

This commit is contained in:
Roy Marples 2008-04-22 08:12:26 +00:00
parent dbea63b76d
commit d3b111bd58

View File

@ -26,7 +26,7 @@ start()
local usbfs=$(grep -Fow usbfs /proc/filesystems || local usbfs=$(grep -Fow usbfs /proc/filesystems ||
grep -Fow usbdevfs /proc/filesystems) grep -Fow usbdevfs /proc/filesystems)
if [ -n "${usbfs}" ]; then if [ -n "${usbfs}" ]; then
ebegin "Mounting USB device filesystem (${usbfs})" ebegin "Mounting USB device filesystem [${usbfs}]"
local usbgid="$(getent group usb | \ local usbgid="$(getent group usb | \
sed -e 's/.*:.*:\(.*\):.*/\1/')" sed -e 's/.*:.*:\(.*\):.*/\1/')"
mount -t ${usbfs} \ mount -t ${usbfs} \