made secret-password to config

config
tiyn 1 year ago
parent 424ef0e31e
commit ab9da5cf6c

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

Loading…
Cancel
Save