diff --git a/src/power.sh b/src/power.sh index c38b219..4ee80a4 100644 --- a/src/power.sh +++ b/src/power.sh @@ -83,7 +83,9 @@ finish() { pid="/var/run/tpm.pid" [ -s "$pid" ] && pKill "$(<"$pid")" - fKill "wsdd" + pid="/var/run/wsdd.pid" + [ -s "$pid" ] && pKill "$(<"$pid")" + fKill "smbd" closeNetwork