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:
parent
424ef0e31e
commit
ab9da5cf6c
@ -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"},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user