Subversion Repositories qbpwcf-lib(archive)

Rev

Rev 671 | Rev 674 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 671 Rev 673
Line 1691... Line 1691...
1691
		#$result["content"],軟連結的資訊.
1691
		#$result["content"],軟連結的資訊.
1692
		#必填參數:
1692
		#必填參數:
1693
		#$conf["fileArgu"],字串,變數__FILE__的內容.
1693
		#$conf["fileArgu"],字串,變數__FILE__的內容.
1694
		$conf["fileArgu"]=__FILE__;
1694
		$conf["fileArgu"]=__FILE__;
1695
		#$conf["file"],字串,要更新的檔案位置與名稱.
1695
		#$conf["file"],字串,要更新的檔案位置與名稱.
1696
		$conf["file"]="";
1696
		$conf["file"]="./qbpwcf/usr/lib/systemd/system/ip-blockerd.service";
1697
		#可省略參數:
1697
		#可省略參數:
1698
		#$conf["overWriteWith"],字串陣列,要置換成什麼樣的內容,每個元素代表一行內容.
1698
		#$conf["overWriteWith"],字串陣列,要置換成什麼樣的內容,每個元素代表一行內容.
1699
		#$conf["overWriteWith"]=array();
1699
		#$conf["overWriteWith"]=array();
1700
		#$conf["replaceWith"],字串陣列,要將什麼內容置換成什麼內容.
1700
		#$conf["replaceWith"],字串陣列,要將什麼內容置換成什麼內容.
1701
		$conf["replaceWith"]=array(array($serviceStartKeyWord,$serviceStartNewContent),array($serviceRestartKeyWord,$serviceRestartNewContent));
1701
		$conf["replaceWith"]=array(array($serviceStartKeyWord,$serviceStartNewContent),array($serviceRestartKeyWord,$serviceRestartNewContent));