rc.local...

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@916 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-09-23 08:18:51 +00:00
parent 471a46f7e6
commit b7ce6aa364
3 changed files with 31 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ etc/rc.d/rc0.d/K30sshd
etc/rc.d/rc0.d/K45random
etc/rc.d/rc0.d/K80network
etc/rc.d/rc0.d/K90sysklogd
etc/rc.d/rc0.d/K99beep
etc/rc.d/rc0.d/S60sendsignals
etc/rc.d/rc0.d/S70localnet
etc/rc.d/rc0.d/S80mountfs
@@ -101,6 +102,8 @@ etc/rc.d/rc3.d/S25random
etc/rc.d/rc3.d/S30sshd
etc/rc.d/rc3.d/S32apache
etc/rc.d/rc3.d/S40fcron
etc/rc.d/rc3.d/S98rc.local
etc/rc.d/rc3.d/S99beep
#etc/rc.d/rc6.d
etc/rc.d/rc6.d/K08fcron
etc/rc.d/rc6.d/K28apache
@@ -108,6 +111,7 @@ etc/rc.d/rc6.d/K30sshd
etc/rc.d/rc6.d/K45random
etc/rc.d/rc6.d/K80network
etc/rc.d/rc6.d/K90sysklogd
etc/rc.d/rc6.d/K99beep
etc/rc.d/rc6.d/S60sendsignals
etc/rc.d/rc6.d/S70mountfs
etc/rc.d/rc6.d/S80swap
@@ -131,3 +135,4 @@ etc/sysconfig/createfiles
etc/sysconfig/firewall.local
etc/sysconfig/modules
etc/sysconfig/rc
etc/sysconfig/rc.local

View File

@@ -83,7 +83,7 @@ $(TARGET) :
for i in $(DIR_SRC)/src/initscripts/sysconfig/*; do \
install -v -m 644 $$i /etc/sysconfig/; \
done
chmod -v 755 /etc/sysconfig/firewall.local
chmod -v 755 /etc/sysconfig/{firewall,rc}.local
for i in $(DIR_SRC)/src/initscripts/helper/*; do \
install -v -m 755 $$i /etc/rc.d/helper/; \
@@ -117,6 +117,7 @@ $(TARGET) :
ln -sf ../init.d/random /etc/rc.d/rc0.d/K45random
ln -sf ../init.d/random /etc/rc.d/rc3.d/S25random
ln -sf ../init.d/random /etc/rc.d/rc6.d/K45random
ln -sf ../../sysconfig/rc.local /etc/rc.d/rc3.d/S98rc.local
ln -sf ../init.d/beep /etc/rc.d/rc0.d/K99beep
ln -sf ../init.d/beep /etc/rc.d/rc3.d/S99beep
ln -sf ../init.d/beep /etc/rc.d/rc6.d/K99beep

View File

@@ -0,0 +1,24 @@
#!/bin/sh
###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
# Used for private calls after boot #
###############################################################################