Re: weird behavior with timeout(1) in a script

2022-10-23 Thread Klemens Nanni
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: > >

weird behavior with timeout(1) in a script

2022-10-21 Thread Solène Rapenne
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