Skip to content

Commit

Permalink
It is udhcpd.conf not udhcpcd.conf!
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Mar 7, 2014
1 parent dc128c8 commit 2ecdc75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usb_moded-network.c
Expand Up @@ -330,13 +330,13 @@ static int write_udhcpd_conf(struct ipforward_data *ipforward, struct mode_list_
/* if it is not a link we remove it, else we expect the right link to be there */
if((st.st_mode & S_IFMT) != S_IFLNK)
{
unlink("/etc/udhcpcd.conf");
unlink("/etc/udhcpd.conf");
}
else
goto end;

link:
symlink("/tmp/udhcpcd.conf", "/etc/udhcpcd.conf");
symlink("/tmp/udhcpd.conf", "/etc/udhcpd.conf");

end:

Expand Down

0 comments on commit 2ecdc75

Please sign in to comment.