Avatar of adminpeter
adminpeter

asked on 

Startup script for single-user mode

Hi,

i setup my Linux RH8 instalation in single user mode in /etc/iniitab. What i'm looking for is how can i start an interactive script to get some user input right after the boot process has finished and the system prompt is shown.

I checked out scripts in /etc/rc1.d and scripts in ~/.profile, ~/.bash_profile and so on. But the scripts in rc1.d execute and does not wait for user input and the profile scripts does not execute at all (i guess the shell is no login-shell).

I need this to automate a process for end-user with minimal interaction. The user at least must confirm to continue.

Thank you, Peter.
Linux

Avatar of undefined
Last Comment
adminpeter

8/22/2022 - Mon