mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 08:12:54 +02:00
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:
@@ -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
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
. /etc/sysconfig/rc
|
||||
. ${rc_functions}
|
||||
. /etc/sysconfig/network
|
||||
. /var/ipfire/main/settings
|
||||
|
||||
case "${1}" in
|
||||
start)
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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..."
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# Begin /etc/sysconfig/clock
|
||||
|
||||
UTC=0
|
||||
|
||||
# End /etc/sysconfig/clock
|
||||
@@ -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
|
||||
@@ -1 +0,0 @@
|
||||
HOSTNAME=ipfire
|
||||
Reference in New Issue
Block a user