forked from extern/shorewall_code
Add initdone file to distribution
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1324 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
8d22f90e6e
commit
aa517ae9c3
@ -124,6 +124,8 @@ restore_file /usr/share/shorewall/configpath
|
|||||||
|
|
||||||
restore_file /etc/shorewall/init
|
restore_file /etc/shorewall/init
|
||||||
|
|
||||||
|
restore_file /etc/shorewall/initdone
|
||||||
|
|
||||||
restore_file /etc/shorewall/start
|
restore_file /etc/shorewall/start
|
||||||
|
|
||||||
restore_file /etc/shorewall/stop
|
restore_file /etc/shorewall/stop
|
||||||
|
7
Shorewall2/initdone
Executable file
7
Shorewall2/initdone
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
############################################################################
|
||||||
|
# Shorewall 2.0 -- /etc/shorewall/initdone
|
||||||
|
#
|
||||||
|
# Add commands below that you want to be executed during
|
||||||
|
# "shorewall start" or "shorewall restart" commands at the point where
|
||||||
|
# Shorewall has not yet added any perminent rules to the builtin chains.
|
||||||
|
#
|
@ -414,6 +414,16 @@ else
|
|||||||
echo "Init file installed as ${PREFIX}/etc/shorewall/init"
|
echo "Init file installed as ${PREFIX}/etc/shorewall/init"
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
# Install the initdone file
|
||||||
|
#
|
||||||
|
if [ -f ${PREFIX}/etc/shorewall/initdone ]; then
|
||||||
|
backup_file /etc/shorewall/initdone
|
||||||
|
else
|
||||||
|
run_install -o $OWNER -g $GROUP -m 0600 initdone ${PREFIX}/etc/shorewall/initdone
|
||||||
|
echo
|
||||||
|
echo "Initdone file installed as ${PREFIX}/etc/shorewall/initdone"
|
||||||
|
fi
|
||||||
|
#
|
||||||
# Install the start file
|
# Install the start file
|
||||||
#
|
#
|
||||||
if [ -f ${PREFIX}/etc/shorewall/start ]; then
|
if [ -f ${PREFIX}/etc/shorewall/start ]; then
|
||||||
|
@ -91,6 +91,7 @@ fi
|
|||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/hosts
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/hosts
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/blacklist
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/blacklist
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/init
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/init
|
||||||
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/initdone
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/start
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/start
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/stop
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/stop
|
||||||
%attr(0600,root,root) %config(noreplace) /etc/shorewall/stopped
|
%attr(0600,root,root) %config(noreplace) /etc/shorewall/stopped
|
||||||
@ -140,6 +141,8 @@ fi
|
|||||||
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel
|
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 10 2004 Tom Eastep tom@shorewall.net
|
||||||
|
- Add /etc/shorewall/initdone
|
||||||
* Fri May 07 2004 Tom Eastep tom@shorewall.net
|
* Fri May 07 2004 Tom Eastep tom@shorewall.net
|
||||||
- Shorewall 2.0.2-RC1
|
- Shorewall 2.0.2-RC1
|
||||||
* Tue May 04 2004 Tom Eastep tom@shorewall.net
|
* Tue May 04 2004 Tom Eastep tom@shorewall.net
|
||||||
|
Loading…
Reference in New Issue
Block a user