Skip to content

Commit

Permalink
Merge pull request #24 from mostafawkhd/patch-2
Browse files Browse the repository at this point in the history
change script for starting wanpad services
  • Loading branch information
spmzt authored Jul 7, 2024
2 parents 9879d86 + 7ea0414 commit 3f1e8a1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion usr/local/share/wanpad/lib/install-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ enable_wanpad_systemd_services()

start_wanpad_services()
{
service wanpad-* start || true
if [ "$OSKERNEL" = "Linux" ]
then
systemctl start wanpad-*.service --all || true
else
service wanpad-* start || true
fi
}

enable_ipv4_forward()
Expand Down

0 comments on commit 3f1e8a1

Please sign in to comment.