Changeset 2233


Ignore:
Timestamp:
Dec 6, 2012, 5:30:18 PM (6 years ago)
Author:
matthijs
Message:

mountd: Don't hardcode /tmp/mounts in mkdir call.

This shouldn't change anything in the normal case, but should fix mountd
behaviour when the mountd path is changed in the uci config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fon/mountd/src/lib/autofs.c

    r2157 r2233  
    214214                snprintf(uci_path, 32, "/tmp/mounts/");
    215215        mkdir("/tmp/run/", 0555);
    216         mkdir("/tmp/mounts", 0555);
     216        mkdir(uci_path, 0555);
    217217        system_printf("rm -rf %s*", uci_path);
    218218        if(uci_timeout < 16)
Note: See TracChangeset for help on using the changeset viewer.