]> TLD Linux GIT Repositories - rc-scripts.git/blobdiff - rc.d/init.d/network
- merged misc fixes
[rc-scripts.git] / rc.d / init.d / network
index 3592a2b476f104eb83fb047236aa5df875882c21..cfbaa7244386dcb41efd7b46e3e75428ea703e08 100755 (executable)
@@ -130,7 +130,7 @@ network_interface_configs() {
 
 find_boot_interfaces() {
        ifcfg_files="$(network_interface_configs 'ifcfg-*')"
-       bootprio=$(grep '^BOOTPRIO=' $ifcfg_files)
+       bootprio=$(grep '^BOOTPRIO=' $ifcfg_files 2>/dev/null)
 
        if [ -n "$bootprio" ]; then
                # find all the interfaces besides loopback.