Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Fixing installer bug if the route doesnt exist. #28

Merged
merged 1 commit into from
Sep 2, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/install
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
</plist>" > /Library/LaunchAgents/com.kitematic.route.plist

# Add entries to routing table for Kitematic VM
/sbin/route delete -net 172.17.0.0 -netmask 255.255.0.0 -gateway $GATEWAY
/sbin/route delete -net 172.17.0.0 -netmask 255.255.0.0 -gateway $GATEWAY > /dev/null 2>&1 || true
/sbin/route -n add -net 172.17.0.0 -netmask 255.255.0.0 -gateway $GATEWAY