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

Disable Internet Sharing -- check command might be broken but fix works #56

Open
kristovatlas opened this issue May 31, 2016 · 0 comments

Comments

@kristovatlas
Copy link

kristovatlas commented May 31, 2016

I verified on my El Capitan machine that the following fix in the YAML works:
defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add Enabled -bool false

However, the check command seems broken. I allowed internet sharing on one of my networking interfaces, and the /Library/Preferences/SystemConfiguration/com.apple.nat file doesn't exist. (Maybe it would if I re-logged or rebooted.)

I recommend just performing the defaults read portion of the check.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant