I want to run some things differently if I have booted into single-user/maintenance mode.I want to know how I can test in my .bashrc file. In particular, I would like to start tmux only in that mode.
Linux: how to test if in maintenance mode?
bash;runlevel