Skip to content

Commit

Permalink
restructure the code for plugin framework
Browse files Browse the repository at this point in the history
  • Loading branch information
yinxiyi committed Jul 7, 2014
1 parent f15e397 commit 660b64a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sbin/hdns.sh → init
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh

config="/system/conf/dnsmasq.conf";
hdnsconf="conf-dir=/data/apps/hdns/conf";
curdir=$(cd $(dirname $0) && pwd)
hdnsconf="conf-dir=$curdir/conf";

initconfig()
{
Expand Down

0 comments on commit 660b64a

Please sign in to comment.