From b7ce6aa364c588e53d462725d1023a57fc99d619 Mon Sep 17 00:00:00 2001 From: ms Date: Sun, 23 Sep 2007 08:18:51 +0000 Subject: [PATCH] rc.local... git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@916 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- config/rootfiles/common/initscripts | 5 +++++ lfs/initscripts | 3 ++- src/initscripts/sysconfig/rc.local | 24 ++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 src/initscripts/sysconfig/rc.local diff --git a/config/rootfiles/common/initscripts b/config/rootfiles/common/initscripts index c8cb41705a..5d34769d9e 100644 --- a/config/rootfiles/common/initscripts +++ b/config/rootfiles/common/initscripts @@ -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 diff --git a/lfs/initscripts b/lfs/initscripts index 73fd7921cc..563fe60707 100644 --- a/lfs/initscripts +++ b/lfs/initscripts @@ -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 index 0000000000..d106ac9021 --- /dev/null +++ b/src/initscripts/sysconfig/rc.local @@ -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 . # +# # +############################################################################### +# Used for private calls after boot # +############################################################################### + + -- 2.39.5