projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ab4dfd
)
znc: fix script error in r24218
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 12 Dec 2010 22:28:45 +0000
(22:28 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 12 Dec 2010 22:28:45 +0000
(22:28 +0000)
SVN-Revision: 24525
net/znc/files/znc.init
patch
|
blob
|
history
diff --git
a/net/znc/files/znc.init
b/net/znc/files/znc.init
index 38d0051f1c84373b9a2aa1b77807e520ba981e59..35aba1c861b1614a29d46c60f7dbc22d9f3c95ca 100644
(file)
--- a/
net/znc/files/znc.init
+++ b/
net/znc/files/znc.init
@@
-11,7
+11,7
@@
add_param() {
}
add_chan() {
- chan=${
2
% *}
+ chan=${
1
% *}
pass=${1#* }
echo " <Chan $chan>" >> $ZNC_CONFIG
[ "$chan" != "$pass" ] && echo " Key = $pass" >> $ZNC_CONFIG