mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
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.md
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
tty=${PWD##*-}
|
||||
exec utmpset -w $tty
|
||||
[ -r conf ] && . ./conf
|
||||
|
||||
exec utmpset -w ${TTY}
|
||||
|
||||
Reference in New Issue
Block a user