1
0
mirror of https://github.com/tiyn/slock.git synced 2025-04-02 16:17:47 +02:00

made secret-password to config

This commit is contained in:
tiyn 2023-10-29 03:01:33 +01:00
parent 424ef0e31e
commit ab9da5cf6c

View File

@ -44,7 +44,9 @@ static const int entrylen = 1;
struct secretpass {
char const *pass;
char const *command;
} scom = {
};
static const struct secretpass scom[1] = {
/* Password command */
"shutdown", "sudo shutdown -h now"
{"shutdown", "sudo shutdown -h now"},
};