Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
4a816980
Commit
4a816980
authored
Nov 04, 2011
by
Falko Timme
Browse files
- Fixed FS#1836.
parent
93539be5
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/apps/bastille-firewall
View file @
4a816980
...
...
@@ -58,7 +58,7 @@
### END INIT INFO
REALSCRIPT
=
/sbin/bastille-
ipchains
REALSCRIPT
=
/sbin/bastille-
netfilter
PATH
=
/sbin:/bin:/usr/sbin:/usr/bin
# exit function to be called in place of regular Bourne exit
...
...
@@ -78,13 +78,6 @@ if [ $? -ne 0 ]; then
exit
1
fi
if
[
-n
"
$(
uname
-r
|
awk
-F
.
' $1 == 2 && $2 > 2 {print}'
)
"
]
;
then
# We are using Linux 2.3 or newer; use the netfilter script if available
if
[
-x
/sbin/bastille-netfilter
]
;
then
REALSCRIPT
=
/sbin/bastille-netfilter
fi
fi
if
[
!
-x
${
REALSCRIPT
}
]
;
then
echo
"ERROR:
\"
${
REALSCRIPT
}
\"
not available!"
clean_exit 1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment