Files
Abdurrahman Kaan DikeçandClaude Opus 5 c82c9dda9c Add mu300-toolkit, VLESS VPN client and pinned sing-box fetch
- mu300-toolkit: raspi-config style menu and live monitor (per-core load/frequency, RAM, temperatures,
  throttling, network rates, eMMC I/O, processes), eco/balanced/performance profiles re-applied at boot,
  network/VPN/services/system menus; POSIX sh + awk, works with dash/mawk and busybox
- mu300-vpn: sing-box VLESS client with TUN auto_route for the device and its clients, nft kill switch
  on cellular egress; settings in /etc/mu300/vpn.conf (vpn.conf.example), systemd unit and procd init
- tools/fetch-sing-box.sh downloads sing-box 1.14.1 and checks its sha256; both rootfs builds pick it up
- display setup.sh: create ~/.config owned by the user (install -d -o only owns the last component)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-17 19:05:32 +03:00

19 lines
885 B
Bash

#!/bin/sh
set -e
H=$1
cd /tmp && rm -rf mu300d && mkdir mu300d && cd mu300d
for f in mu300-display-load mu300-display.service mu300-desktop.service mu300-hdmi-test labwc/autostart; do
mkdir -p "$(dirname "$f")"; wget -q -O "$f" "http://$H:8100/files/$f"
done
install -m 755 mu300-display-load /usr/local/sbin/mu300-display-load
install -m 755 mu300-hdmi-test /usr/local/bin/mu300-hdmi-test
install -m 644 mu300-display.service mu300-desktop.service /etc/systemd/system/
# install -d -o only owns the last component: create ~/.config first so it does not end up root-owned
install -d -o ubuntu -g ubuntu /home/ubuntu/.config /home/ubuntu/.config/labwc
install -m 644 -o ubuntu -g ubuntu labwc/autostart /home/ubuntu/.config/labwc/autostart
usermod -aG video,input,render ubuntu
systemctl daemon-reload
systemctl enable mu300-display.service mu300-desktop.service
sync
echo SETUP-OK