@rubytech/taskmaster 1.0.73 → 1.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-info.json +3 -3
- package/package.json +1 -1
- package/scripts/install.sh +9 -2
- package/taskmaster-docs/USER-GUIDE.md +10 -0
package/dist/build-info.json
CHANGED
package/package.json
CHANGED
package/scripts/install.sh
CHANGED
|
@@ -149,9 +149,16 @@ if [ "$(id -u)" = "0" ] && [ "$REAL_USER" != "root" ]; then
|
|
|
149
149
|
&& echo " hostname set to '${TM_HOSTNAME}'" \
|
|
150
150
|
|| echo " hostname set failed (continuing)"
|
|
151
151
|
|
|
152
|
-
# Ensure /etc/hosts resolves the new hostname (sudo warns otherwise)
|
|
152
|
+
# Ensure /etc/hosts resolves the new hostname (sudo warns otherwise).
|
|
153
|
+
# Raspberry Pi OS uses 127.0.1.1 for the hostname; other distros may use
|
|
154
|
+
# 127.0.0.1. We update an existing 127.0.1.1 line if present (replacing
|
|
155
|
+
# the old hostname like "raspberrypi"), otherwise append a new entry.
|
|
153
156
|
if ! grep -q "$TM_HOSTNAME" /etc/hosts 2>/dev/null; then
|
|
154
|
-
|
|
157
|
+
if grep -q "^127\.0\.1\.1" /etc/hosts 2>/dev/null; then
|
|
158
|
+
sed -i "s/^127\.0\.1\.1.*/127.0.1.1\t$TM_HOSTNAME/" /etc/hosts
|
|
159
|
+
else
|
|
160
|
+
echo "127.0.1.1 $TM_HOSTNAME" >> /etc/hosts
|
|
161
|
+
fi
|
|
155
162
|
fi
|
|
156
163
|
|
|
157
164
|
# Remove stale avahi service file from previous installs (conflicts with gateway Bonjour)
|
|
@@ -888,6 +888,16 @@ The gateway is the software that runs your assistant. If it's showing red:
|
|
|
888
888
|
- Try using the IP address: **http://192.168.x.x:18789** (contact Support for assistance)
|
|
889
889
|
- Wait 2 minutes after power-on for the device to start
|
|
890
890
|
|
|
891
|
+
### "sudo: unable to resolve host taskmaster" warning?
|
|
892
|
+
|
|
893
|
+
This harmless warning appears when the Pi's hostname isn't listed in `/etc/hosts`. Every `sudo` command still works — it's just a cosmetic message. To fix it, open a terminal on the Pi and run:
|
|
894
|
+
|
|
895
|
+
```
|
|
896
|
+
sudo sh -c 'echo "127.0.1.1 taskmaster" >> /etc/hosts'
|
|
897
|
+
```
|
|
898
|
+
|
|
899
|
+
Replace `taskmaster` with your actual hostname if you changed it (e.g., `taskmaster-19000` for a custom port). The warning disappears immediately.
|
|
900
|
+
|
|
891
901
|
---
|
|
892
902
|
|
|
893
903
|
## Multiple Accounts
|