mirror of https://github.com/fairyglade/ly
Tidy up runit service scripts (#479)
* Fix the script installation path (install everything only on /etc/sv/ly) * Update the runit scripts to get the TTY value from the /etc/ly/config.ini file * Update readme.mdpull/519/head
parent
8c4ba3bd40
commit
a8ea5d3e99
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
exec utmpset -w ${TTY}
|
||||
|
Loading…
Reference in New Issue