On Fri, Oct 21, 2022 at 03:50:41PM +0200, Solene Rapenne wrote:
> hi
>
> I found a weird behavior trying to use timeout(1) in a script with
> interactive commands. My use case is to ask for unlocking /home
> from /etc/rc.local but continue if I don't type it in time.
>
> this is working:
>
>
hi
I found a weird behavior trying to use timeout(1) in a script with
interactive commands. My use case is to ask for unlocking /home
from /etc/rc.local but continue if I don't type it in time.
this is working:
timeout 2s less /etc/fstab
the same command isn't working from a script, run