1DOLLY 32MODULE startup-pi34REQUIRES TOOL slop5REQUIRES TOOL foreground6REQUIRES TOOL test7REQUIRES TOOL printf8REQUIRES TOOL pi910FILE /etc/dolly/init.slop11 if test -f "$HOME/.dollyrc"; then12 /bin/foreground /bin/slop -e "$HOME/.dollyrc"13 status=$?14 case "$status" in15 0|130) ;;16 *) printf 'Dolly: %s exited with status %s; continuing.\n' "$HOME/.dollyrc" "$status" >&2 ;;17 esac18 fi19 for attempt in 1 2 3; do20 /bin/foreground -i /usr/bin/pi21 status=$?22 case "$status" in 0|130) break ;; esac23 if test "$attempt" -lt 3; then24 printf '\nDolly: restarting Pi after unexpected status %s (%s/2).\n' "$status" "$attempt"25 fi26 done27 printf '\nDolly: image entry exited; entering the recovery Slop shell.\n'28 /bin/foreground -i /bin/slop2930FILE /home/dolly/.dollyrc31 printf '\033[33mDOLLY / PI\033[0m\n'32 printf 'Pi and every command run inside the browser Wasm sandbox.\n'33 printf 'Try: ask Pi about /workspace | ! ls | ! git status | /help\n\n'34