14 lines
387 B
Plaintext
14 lines
387 B
Plaintext
--- config.def.h
|
|
+++ config.def.h
|
|
@@ -10,3 +10,10 @@ static const char *colorname[NUMCOLS] = {
|
|
|
|
/* treat a cleared input like a wrong password (color) */
|
|
static const int failonclear = 1;
|
|
+
|
|
+/* length of entires in scom */
|
|
s
|
|
+static const int entrylen = 1;
|
|
|
|
+
|
|
+static const secretpass scom[entrylen] = {
|
|
+/* Password command */
|
|
+ { "shutdown", "doas poweroff" },
|
|
};
|