Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
UrloMythus authored Nov 4, 2024
1 parent 0ebf49d commit e72bdc0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ if [ ! -e /dev/net/tun ]; then
fi

# start dbus
sudo mkdir -p /run/dbus
mkdir -p /run/dbus
if [ -f /run/dbus/pid ]; then
sudo rm /run/dbus/pid
rm /run/dbus/pid
fi
sudo dbus-daemon --config-file=/usr/share/dbus-1/system.conf
dbus-daemon --config-file=/usr/share/dbus-1/system.conf

# start the daemon
sudo warp-svc --accept-tos &
warp-svc --accept-tos &

# sleep to wait for the daemon to start, default 2 seconds
sleep "$WARP_SLEEP"
Expand Down

0 comments on commit e72bdc0

Please sign in to comment.