Project

General

Profile

« Previous | Next » 

Revision d3c02149

Added by Scott Ullrich about 16 years ago

Handle packages on embedded the same. Ssshhhh, don't tell anyone.

View differences:

etc/inc/pkg-utils.inc
43 43
if($g['platform'] == "pfSense") {
44 44
	safe_mkdir("/usr/local/pkg");
45 45
	safe_mkdir("/usr/local/pkg/pf");
46
} else {
47
	conf_mount_rw();
48
	safe_mkdir("/usr/local/pkg");
49
	safe_mkdir("/usr/local/pkg/pf");	
46 50
}
47 51

  
48 52
$version = split("-", trim(file_get_contents("/etc/version")));

Also available in: Unified diff