summaryrefslogtreecommitdiffstats
path: root/netconfig
diff options
context:
space:
mode:
Diffstat (limited to 'netconfig')
-rw-r--r--netconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/netconfig b/netconfig
index bb11b3e..6e7635d 100644
--- a/netconfig
+++ b/netconfig
@@ -1071,6 +1071,8 @@ if [ "$RETVAL" = "0" ]; then
write_config_files
if [ "$NETWORKMANAGER" = "yes" -a -r etc/rc.d/rc.networkmanager ]; then
chmod 755 etc/rc.d/rc.networkmanager
+ elif [ ! "$NETWORKMANAGER" = "yes" -a -x etc/rc.d/rc.networkmanager ]; then
+ chmod 644 etc/rc.d/rc.networkmanager
fi
dialog --msgbox "Settings accepted. Basic network configuration is complete." 6 40
else