Our init scripts normally output context in [ .. ]
This commit is contained in:
parent
dbea63b76d
commit
d3b111bd58
@ -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} \
|
||||||
|
Loading…
Reference in New Issue
Block a user