mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 16:11:06 +02:00
Changed target for ubpar.c to directly write to mtd device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7502 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
973d62f2ab
commit
800ef4cbea
@ -115,7 +115,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
envptr->crc = crc32(0, envptr->data, ENV_SIZE);
|
||||
|
||||
params = fopen("params", "w");
|
||||
params = fopen("/dev/mtd1", "w");
|
||||
fwrite(envptr, CFG_ENV_SIZE, 1, params);
|
||||
fclose(params);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user