尝试了 sudo /etc/init.d/networking
提示: Calling a sysvinit script on a system using upstart isn’t supported. Please use the ‘service’ command instead. 求帮助
Make sure that it’s clear to the user that they shouldn’t use this
script under upstart
if init_is_upstart; then
echo “ERROR: Calling a sysvinit script on a system using upstart isn’t supported. Please use the ‘service’ command instead.”
exit 1
fi
