projects
/
ipfire-2.x.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Hinzugefügt:
[ipfire-2.x.git]
/
config
/
ovpn
/
verify
1
#!/bin/sh
2
if
[
$1
-eq
0
];
then
3
name2
=
`echo
$2
`
4
name3
=
${name2##*/}
5
name4
=
${name3##*CN=}
6
clientdisabled
=
`/bin/grep -iwc off,.*,
$name4
/var/ipcop/ovpn/ovpnconfig`
7
if
[
"
$clientdisabled
"
=
"1"
];
then
8
exit
1
9
fi
10
exit
0
11
fi
12
13
exit
0
14
15
16