]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
rc.local...
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 23 Sep 2007 08:18:51 +0000 (08:18 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sun, 23 Sep 2007 08:18:51 +0000 (08:18 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@916 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

config/rootfiles/common/initscripts
lfs/initscripts
src/initscripts/sysconfig/rc.local [new file with mode: 0644]

index c8cb41705a7a7062ad0d0a6a6db876b31c5a7bfa..5d34769d9e0f8c05ccffe2bfda63967175ea9248 100644 (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
index 73fd7921cc84dca1096db9a98c3ba91f83f7d350..563fe60707c9acf66fd928ccb61c84a80d460109 100644 (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
diff --git a/src/initscripts/sysconfig/rc.local b/src/initscripts/sysconfig/rc.local
new file mode 100644 (file)
index 0000000..d106ac9
--- /dev/null
@@ -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                                           #
+###############################################################################
+
+