Project

General

Profile

« Previous | Next » 

Revision 5ee53aa1

Added by Ermal LUÇI almost 12 years ago

Enforce the checking of booting up for linkup events

View differences:

etc/rc.linkup
83 83
}
84 84

  
85 85
global $g;
86
if (file_exists("{$g['varrun_path']}/booting")) {
87
	/* ignore all linkup events */
88
} else {
86
if (!file_exists("{$g['varrun_path']}/booting") && empty($g['booting'])) {
89 87
	if ($argc < 3) {
90 88
		log_error("HOTPLUG event: The number of required parameters not passed!");
91 89
		exit;

Also available in: Unified diff