FalsePhilosopher / PPPwnWRT

PPPwn for OpenWRT
69 stars 9 forks source link

How can I create a script to turn off the router after running pppwn? #16

Closed SyderaLGaming closed 5 months ago

SyderaLGaming commented 6 months ago

This pppwn auto-start process really works very well for me, but I have seen in other repositories that they install a script to turn off the router after the pppwn process has been executed. Could someone help me with this?

Thanks in advance

sorry my bad english ( google traslate)

FalsePhilosopher commented 5 months ago

edit /etc/init.d/pppwnwrt procd_set_param command sh /etc/pppwnwrt/pppwnwrt.sh && shutdown -h now