mirror of
https://github.com/tiyn/slock.git
synced 2025-10-16 12:51:20 +02:00
made secret-password to config
This commit is contained in:
@@ -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"},
|
||||
};
|
||||
|
Reference in New Issue
Block a user