Bootscripte an den IPFire angepasst.

Ramdisk bearbeitet und Diskettenimages entfernt.
PCMCIA-Utils entfernt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@381 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-01-06 12:55:49 +00:00
parent a10ae6cc7a
commit 55b4c7edc1
21 changed files with 359 additions and 401 deletions

View File

@@ -78,6 +78,17 @@ case "${1}" in
find . -xdev -mindepth 1 ! -name lost+found \
-delete || failed=1
boot_mesg -n " /var/ipfire/dhcp" ${NORMAL}
cd /var/ipfire/dhcpc/ &&
find . -name *.pid -exec rm -f {} \; || failed=1
cd /var/ipfire/dhcpc/ &&
find . -name *.cache -exec rm -f {} \; || failed=1
cd /var/ipfire/dhcpc/ &&
find . -name *.info -exec rm -f {} \; || failed=1
boot_mesg -n " /var/ipfire/red" ${NORMAL}
cd /var/ipfire/red/ && find . -name active -exec rm -f {} \; || failed=1
boot_mesg -n " /var/lock" ${NORMAL}
cd /var/lock &&
find . -type f ! -newer /proc -exec rm -f {} \; || failed=1

View File

@@ -14,7 +14,7 @@
. /etc/sysconfig/rc
. ${rc_functions}
. /etc/sysconfig/network
. /var/ipfire/main/settings
case "${1}" in
start)

View File

@@ -39,10 +39,6 @@ case "${1}" in
modprobe ip_nat_mms
modprobe ip_conntrack_pptp
modprobe ip_nat_pptp
modprobe ip_conntrack_proto_gre
modprobe ip_nat_proto_gre
modprobe ip_conntrack_quake3
modprobe ip_nat_quake3
# Remove possible leftover files
rm -f CONFIG_ROOT/red/{active,device,dial-on-demand,dns1,dns2,local-ipaddress,remote-ipaddress,resolv.conf}

View File

@@ -14,21 +14,9 @@
. /etc/sysconfig/rc
. ${rc_functions}
. /etc/sysconfig/clock
CLOCKPARAMS=
case "${UTC}" in
yes|true|1)
CLOCKPARAMS="${CLOCKPARAMS} --utc"
;;
no|false|0)
CLOCKPARAMS="${CLOCKPARAMS} --localtime"
;;
esac
case ${1} in
start)
boot_mesg "Setting system clock..."

View File

@@ -1,5 +0,0 @@
# Begin /etc/sysconfig/clock
UTC=0
# End /etc/sysconfig/clock

View File

@@ -1,7 +0,0 @@
# Begin /etc/sysconfig/console
KEYMAP="de-latin1-nodeadkeys"
KEYMAP_CORRECTIONS="euro2"
FONT="lat0-16 -m 8859-15"
# End /etc/sysconfig/console

View File

@@ -1 +0,0 @@
HOSTNAME=ipfire