Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#5338 - /etc/rc.d/network restart reads configuration files 3 times
Attached to Project:
Arch Linux
Opened by Arthur Danskin (wiremore) - Saturday, 02 September 2006, 08:40 GMT
Opened by Arthur Danskin (wiremore) - Saturday, 02 September 2006, 08:40 GMT
|
DetailsRunning /etc/rc.d/network restart reads configuration files 3 times. This is not normally an issue, but is inefficent when the configuration files include some logic above simple variable definitions.
An easy way to fix this is to move the code to start and stop the network out of the switch statement and into individual functions, and then change this: restart) $0 stop /bin/sleep 2 $0 start so that it calls those functions instead of calling the entire script. |
This task depends upon