mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
10 lines
208 B
Bash
10 lines
208 B
Bash
#!/bin/sh
|
|
|
|
if [ -f /etc/config/sshd ]; then
|
|
# make sure not to change already existing setting
|
|
if ! uci -q get sshd.@sshd[0].UseMFA 2>&1 > /dev/null; then
|
|
uci -q set sshd.@sshd[0].UseMFA=1
|
|
fi
|
|
fi
|
|
|
|
exit 0
|