diff options
author | Felix Richter <github@syntax-fehler.de> | 2011-05-26 21:06:40 +0200 |
---|---|---|
committer | Felix Richter <github@syntax-fehler.de> | 2011-05-26 21:06:40 +0200 |
commit | 0463d59286d881d68f65a8dc8c03bc8a30c357b1 (patch) | |
tree | 79fdfc6c40196f1f649d5f90dd34b326948305cd /retiolum/hosts/.scripts/tinc_setup/install.sh | |
parent | 93874dd2a3d6daf7336b1b4df35fd00b1f394b1c (diff) |
fixed nasty username bug,debian build script
Diffstat (limited to 'retiolum/hosts/.scripts/tinc_setup/install.sh')
-rwxr-xr-x | retiolum/hosts/.scripts/tinc_setup/install.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/retiolum/hosts/.scripts/tinc_setup/install.sh b/retiolum/hosts/.scripts/tinc_setup/install.sh index 4b21bcd4..89465b64 100755 --- a/retiolum/hosts/.scripts/tinc_setup/install.sh +++ b/retiolum/hosts/.scripts/tinc_setup/install.sh @@ -47,7 +47,7 @@ CHANNEL = '#tincspasm' HOST='irc.freenode.net' FILE="/etc/tinc/retiolum/hosts/$myname" PORT=6667 -NICK= "$myname_"+str(random.randint(23,666)) +NICK= "${myname}_"+str(random.randint(23,666)) sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM) sock.connect((HOST,PORT)) @@ -65,4 +65,3 @@ EOF python write_channel.py # add user tincd useradd tincd -tincd --user=tincd --chroot -n $netname |