Skip to content

Commit

Permalink
0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
garywill committed Aug 22, 2021
1 parent e5fc9ef commit c2b21bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

Expand All @@ -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

4 changes: 2 additions & 2 deletions lnxrouter
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit c2b21bb

Please sign in to comment.