diff --git a/README.md b/README.md index 04b3a41..c01ad14 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ It wraps `iptables`, `dnsmasq` etc. stuff. Use in one command, restore in one co [Buy me a coffee](https://github.com/garywill/receiving/blob/master/receiving_methods.md) -( ^\_^)o自自o(^_^ ) ## Features @@ -358,7 +357,6 @@ Options: [Buy me a coffee](https://github.com/garywill/receiving/blob/master/receiving_methods.md) , this project took me lots of time! -( ^\_^)o自自o(^_^ ) [打赏一个](https://github.com/garywill/receiving/blob/master/receiving_methods.md) @@ -369,3 +367,8 @@ Options: This script was forked from create\_ap. Now it's quite different from it. (See `history` branch for how I modified create_ap) There're some TO-DOs listed, at both above and in the code file. We'll appreciate your help. + +------------------ + +More of my projects: https://garywill.github.io + diff --git a/lnxrouter b/lnxrouter index 064c1d3..5e23be0 100755 --- a/lnxrouter +++ b/lnxrouter @@ -1,7 +1,7 @@ #!/bin/bash # TODO: showing version (or git commit) on running -VERSION=0.6.0 +VERSION=0.6.2 PROGNAME="$(basename $0)" export LC_ALL=C @@ -1235,7 +1235,7 @@ init_conf_dirs() { chmod 755 "$TMPDIR" 2>/dev/null cd "$TMPDIR" || die "Couldn't change directory to linux-router's temporary path" - CONFDIR="$(mktemp -d $TMPDIR/lnxrouter.${TARGET_IFACE}.conf.XXX)" || die "Instance couldn't make config dir" # config dir for one instance + CONFDIR="$(mktemp -d $TMPDIR/lnxrouter.${TARGET_IFACE}.conf.XXXXXX)" || die "Instance couldn't make config dir" # config dir for one instance chmod 755 "$CONFDIR" #echo "Config dir: $CONFDIR" echo $$ > "$CONFDIR/pid"