You are not logged in.
Hi,
So because of internet connection problem sometimes I need to restart/toggle my iwd's systemd service.
Simple script like:
#!/usr/bin/env bash
if [ "$(systemctl is-active iwd)" = "active" ]; then
systemctl stop iwd
else
systemctl start iwd
fi
I use this in my xfce launcher:
bash -c /path/to/toggle-wifi.sh
When I clicked the launcher in my xfce panel, usually it opens a window prompt asking for password. But it stops doing that for some reason.
Anyone can help?
edit: Never mind, restart fixed it. I was talking about the Authentication prompt. The one that says, "Authentication is required to stop 'iwd.service'." and asks for my password.
Last edited by ruuwa (2022-02-22 07:29:23)
Offline
[ Generated in 0.011 seconds, 9 queries executed - Memory usage: 525.12 KiB (Peak: 525.74 KiB) ]