Commit c031409
authored
Remove sudo from keyboard commands (#159)
* Update README, remove sudo from keymap.tcl and virtual-programs
* Add forloop for usermods, avoids errors when certain groups don't exist
* Remove extranous usermod instruction
* Fix esc-restart, remove sudo from keymap
Instead of using `loadkeys` we're now using `kbd_mode -u` to load the
keymap. This is because `loadkeys` requires root permissions and we're
trying to remove the need for `sudo` in the system. I tried removing
`sudo` from the `esc-restart` virtual program but it failed with an
interactive authentication error. I'm not sure how to do this with less
powerful permissions than `sudo` so I'm leaving it as is for now.
* Add kdb to explicit dependnecies to get around need for loadkeys
This is precautionary, in practice kbd is a dependency of console-data
but I could image cases in the future where we swap console-data but
still need kdb.1 parent dfd24a5 commit c031409
File tree
4 files changed
+11
-10
lines changed- lib
- virtual-programs
4 files changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 64 | + | |
69 | 65 | | |
70 | 66 | | |
71 | 67 | | |
| |||
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
82 | | - | |
| 78 | + | |
83 | 79 | | |
84 | 80 | | |
85 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments