Commit e37ab642 authored by Jondy Zhao's avatar Jondy Zhao

Add a link to netsh

modified:   windows/scripts/slapos-cygwin-bootstrap.sh
parent 458601bf
......@@ -80,6 +80,13 @@ function slapos_patch_cygwin()
csih_inform "/etc/group generated"
[[ -f /etc/group ]] || mkgroup > /etc/group
csih_inform "Creating link to netsh"
_netsh=$(which netsh) || csih_error "Missing netsh.exe"
[[ -L /usr/bin/netsh ]] ||
ln -s ${_netsh} /usr/bin/netsh ||
csih_error "Failed"
csih_inform "OK"
_filename=/usr/bin/cygport
if [[ -f ${_filename} ]] ; then
csih_inform "Patching ${_filename} ..."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment