~mil/sxmo-xdm-config

ref: 4c48b577207af12a0b56be23c64686f6266e9079 sxmo-xdm-config/GiveConsole -rwxr-xr-x 417 bytes
4c48b577tetrakist Fix shellcheck/ec issues. Remove -9 from pkill. 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Assign ownership of the console to the invoking user
#
# By convention, both xconsole and xterm -C check that the
# console is owned by the invoking user and is readable before attaching
# the console output.  This way a random user can invoke xterm -C without
# causing serious grief.
#
busybox pkill svkbd-mobile-intl
busybox pkill svkbd-mobile-plain
busybox pkill svkbd-sxmo
chown "$USER" /dev/console