telinit: add page (#9288)

pull/1/head
DEBADRIBASAK 2022-10-25 21:48:08 +05:30 committed by GitHub
parent 659da1ec92
commit 44416e176c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
pages/linux/telinit.md Normal file
View File

@ -0,0 +1,29 @@
# telinit
> Change SysV runlevel.
> Since the concept SysV runlevels is obsolete the runlevel requests will be transparently translated into systemd unit activation requests.
> More information: <https://manned.org/telinit>.
- Power off the machine:
`telinit 0`
- Reboot the machine:
`telinit 6`
- Change SysV run level:
`telinit {{2|3|4|5}}`
- Change to rescue mode:
`telinit 1`
- Reload daemon configuration:
`telinit q`
- Do not send a wall message before reboot/power-off (6/0):
`telinit --no-wall {{value}}`