This commit is contained in:
Alexander 2024-02-24 04:53:09 +01:00
parent d82582f723
commit 61157ef95d
2 changed files with 5 additions and 4 deletions

View file

@ -52,6 +52,7 @@ ln -s /opt/etc/ssl/certs /etc/ssl >/dev/null 2>&1
cp -rp /etc/ssl/certs/{ca.crt,client.crt,client.key,server.crt,server.key} /user
# If mosquitto is not running then start it
if ! ps | grep -q mosquitto; then
# Don't grep mosquitto from the ps output
if ! ps | grep -r "mosquitto -c /opt/etc/mosquitto/mosquitto.conf" | grep -v grep; then
/opt/etc/init.d/S80mosquitto start
fi

View file

@ -29,13 +29,13 @@ root_access="$1$///xTLYF$krWXTe62/dm.crd6CH4HW0"
# From version 3.0.3 the UART is disabled
uart="2.3.9"
# Enable the SSH server, use 'dropbear' type ssh (recommended)
ssh="dropbear"
# Enable opkg (+5MB to the update, +10MB to the rootfs)
# Use it only when you plan to install more packages from the printer
opkg="default"
# Enable the SSH server, use 'dropbear' type ssh (recommended)
ssh="dropbear"
# Enable Python 3 (+14MB to the update, +25MB to the rootfs)
# Select the version you need. Python might be required by some other options
# python="3.11"