ClusterM / hakchi2

Tool that allows you to add more games to your NES/SNES Classic Mini. WARNING: hakchi2 is no longer supported. Please use hakchi2 CE.
GNU General Public License v3.0
2.93k stars 456 forks source link

Help Scripting - Password Protection #343

Closed Nysde closed 7 years ago

Nysde commented 7 years ago

How executed "/etc/init.d/S810password" after "S79clovercon" (controller driver) but before "S81clover-mcp" (main GUI) ? Which file to modify to run S810password ?

628acyt

Hardcore scripting - password protection = https://github.com/ClusterM/hakchi2/wiki/Modifications-and-modules-guide

derchrisuk commented 7 years ago

If you want it to run before S81, but after S79, it needs to be names S80

ClusterM commented 7 years ago

...but S80 already exists. It's executed in alphabetical order, nut numeric. So it will be executed just in order shown on your screenshot :) image

Nysde commented 7 years ago

Nothing happens the startup remains normal. . :(

I stored this files as "password.raw.gz", "password_fail.raw.gz" and "password_ok.raw.gz" into "/etc/" directory

and files S810password into /etc/init.d/

Nothing happens ? µ help pls

ClusterM commented 7 years ago

Make sure that S810password has executable rights, e.g. execute:

chmod +x /etc/init.d/S810password
Nysde commented 7 years ago

Thank you @ClusterM