anaconda/anaconda-40.22.3.13/data/systemd/anaconda-noshell.service

18 lines
624 B
SYSTEMD
Raw Normal View History

2024-11-14 21:39:56 -08:00
[Unit]
Description=Restrict Anaconda Text Console
After=anaconda.service
Before=anaconda-tmux@.service
ConditionKernelCommandLine=|inst.noshell
[Service]
Type=oneshot
WorkingDirectory=/root
ExecStart=/usr/bin/tmux unbind-key -a; \
kill-window -t anaconda:shell; \
bind-key 1 select-window -t :1; \
bind-key 2 select-window -t :2; \
bind-key 3 select-window -t :3; \
bind-key 4 select-window -t :4; \
bind-key 5 select-window -t :5; \
bind-key ? list-keys