diff --git a/src/power.sh b/src/power.sh index 68afd8f..e198610 100644 --- a/src/power.sh +++ b/src/power.sh @@ -93,7 +93,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