Startup script for single-user mode
Posted on 2003-10-22
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.