Skip to main content

Linux: Testhow to test if in maintenance mode?

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.bashrc, in In particular, I would like to start tmuxtmux only in that mode, to see if I am in this mode?.

Linux: Test if in maintenance mode?

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, in particular I would like to start tmux only in that mode, to see if I am in this mode?

Linux: how to test if in maintenance mode?

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.

edited tags
Link
Gilles 'SO- stop being evil'
  • 865.3k
  • 205
  • 1.8k
  • 2.3k
Source Link

Linux: Test if in maintenance mode?

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, in particular I would like to start tmux only in that mode, to see if I am in this mode?