mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-14 19:54:06 +01:00
Update for Shorewall 2.0.3a
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1421 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
ce7ce85d32
commit
9486b0f098
@ -238,6 +238,31 @@ mktempfile() {
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# create a temporary directory
|
||||
#
|
||||
mktempdir() {
|
||||
|
||||
[ -z "$MKTEMP" ] && find_mktemp
|
||||
|
||||
case "$MKTEMP" in
|
||||
BSD)
|
||||
mktemp -d /tmp/shorewall.XXXXXX
|
||||
;;
|
||||
STD)
|
||||
mktemp -td shorewall.XXXXXX
|
||||
;;
|
||||
None)
|
||||
mkdir /tmp/shorewall-$$ && echo /tmp/shorewall-$$
|
||||
;;
|
||||
*)
|
||||
echo " ERROR:Internal error in mktempdir"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Read a file and handle "INCLUDE" directives
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user