Linux: December 2011 Archives

CentOS 6.1 service network restart 會發現有錯誤
network-functions: line 144: is_false:命令找不到
./network-functions: line 144: is_false:命令找不到
./network-functions: line 144: is_false:命令找不到
./network-functions: line 144: is_false:命令找不到

因為 /etc/sysconfig/network-scripts/network-functions 少了 is_false () function
看 144 行 ! is_false $NM_CONTROLLED && is_nm_running && USE_NM=true
is_false () function 只是檢查 NM_CONTROLLED 是否等於 no 而已,
在 network-functions 最後補上這一段即可

is_false () {
     [ "$1" = no ]
}

About this Archive

This page is an archive of entries in the Linux category from December 2011.

Linux: September 2011 is the previous archive.

Linux: January 2012 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives