headlessvnc : commande hostname -> bon vieux cat car j'ai désinstaller
inetutils
This commit is contained in:
parent
868e0476f0
commit
95d906477b
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ public_start() {
|
|||
public_status() {
|
||||
if is_running; then
|
||||
echobf "The VNC server is running."
|
||||
tail "./$(hostname):1.log" | sed 's/^/\t/g'
|
||||
tail "./$(cat /proc/sys/kernel/hostname):1.log" | sed 's/^/\t/g'
|
||||
else
|
||||
echobf "The VNC server is not running."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue