https://bugzilla.novell.com/show_bug.cgi?id=751887
https://bugzilla.novell.com/show_bug.cgi?id=751887#c24
--- Comment #24 from Vojta Dziewięcki 2012-04-06 10:56:39 UTC ---
The savestate function, used in 06autofs, looks like this:
savestate()
{
# $1 = name of state to save
# $2 (optional) State to save. If omitted, save stdin.
if [ -n "$2" ]; then
echo "$2" > "${STORAGEDIR}/state:$1"
else
cat > "${STORAGEDIR}/state:$1"
fi
}
And autofs stops at savestate autofs "", because it waits for stdin.
So I would change it to sth like:
savestate autofs notrunning #(instead of "")
and then:
if test "$_autofs_state" = running ; then
I tried it on my laptop and it worked as it should.
What do you think?
Before we make another maintenance update, I would also like to fix #bnc752729.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.