Skip to navigation
Start a script after tty login into debain
19.07.24
Start a script after tty login into debain # create an entry into .profile ``` echo '[ -z "$SSH_TTY" ] && ./deploy.sh' >> /root/.profile ``` # write a script ``` echo 'htop' >> ./deploy chmod +x ./deploy.sh ```
https://techbits.io/autologin-resume-script/
Reply
Anonymous
Information Epoch 1730248197
Data dominates.
Home
Notebook
Contact us