stooged / PI-Pwn

pppwn
484 stars 94 forks source link

Alpinelinux #85

Closed zero13th closed 6 months ago

zero13th commented 6 months ago

Hi I'm using alpinelinux with openRC.

could you fix this? image

zero13th commented 6 months ago

what I did:

  1. change working directory = sed -i 's|/boot/firmware/PPPwn/|/media/mmcblk0p1/PPPwn/|g' run.sh
  2. using root account (no need for sudo) = sed -i 's|sudo ||g' run.sh
  3. run.sh with default config parameter: source /boot/firmware/PPPwn/config.sh fi if [ -z $INTERFACE ]; then INTERFACE="eth0"; fi if [ -z $FIRMWAREVERSION ]; then FIRMWAREVERSION="11.00"; fi if [ -z $SHUTDOWN ]; then SHUTDOWN=true; fi if [ -z $USBETHERNET ]; then USBETHERNET=false; fi if [ -z $PPPOECONN ]; then PPPOECONN=false; fi if [ -z $VMUSB ]; then VMUSB=false; fi if [ -z $DTLINK ]; then DTLINK=false; fi if [ -z $PPDBG ]; then PPDBG=false; fi if [ -z $TIMEOUT ]; then TIMEOUT="5m"; fi

manually poweroff command doesnot makes rpi shutdown until I kill run.sh process

image

stooged commented 6 months ago

there is a good chance a lot will be broken on other nix distros, i am only working around raspberry pi os lite and armbian cli/minimal.