14 lines
292 B
Plaintext
14 lines
292 B
Plaintext
# Read config file to see if SSH server must be started.
|
|
|
|
start_ssh=0
|
|
|
|
if [ -f /var/lib/puzzlefw/cfg/start_ssh.conf ]; then
|
|
. /var/lib/puzzlefw/cfg/start_ssh.conf
|
|
fi
|
|
|
|
if [ "${start_ssh}" -ne 1 ]; then
|
|
echo "SSH server disabled in configuration, not starting dropbear."
|
|
exit 1
|
|
fi
|
|
|