mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 18:03:06 +02:00
Clamav kommt erstma ohne Virendefinitionen daher.
Die laedt der sich dann alleine. rsync-Update. Das Pakfire-Update kann beim Verbinden auch im Hintergrund ablaufen. Einige Shell-Kommandos interaktiv gemacht. AdoDB ins Paket von Openmailadmin hinzugefuegt. Prompt ist wieder farbig. Das MySQL-Setup ist noch nicht so besonders fit. Der Server braucht zu lange zum starten - somit kann noch kein Passwort gesetzt werden. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@971 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/opt/pakfire/pakfire update >/dev/null 2>&1
|
||||
nice -n 10 /opt/pakfire/pakfire update >/dev/null 2>&1 &
|
||||
|
||||
@@ -47,9 +47,8 @@ transparent() {
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
boot_mesg "Starting Squid Proxy Server..."
|
||||
|
||||
if [ -e /var/ipfire/proxy/enable -o -e /var/ipfire/proxy/enable_blue ]; then
|
||||
boot_mesg "Starting Squid Proxy Server..."
|
||||
loadproc /usr/sbin/squid -D -z >/dev/null 2>&1
|
||||
loadproc /usr/sbin/squid -D
|
||||
fi
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
package Conf;
|
||||
|
||||
$version = "2.0rc1";
|
||||
$version = "2.0rc2t";
|
||||
|
||||
$mainserver = "pakfire.ipfire.org";
|
||||
|
||||
|
||||
@@ -9,6 +9,16 @@ ln -svf ../init.d/mysql /etc/rc.d/rc6.d/K26mysql
|
||||
|
||||
/etc/init.d/mysql start
|
||||
|
||||
sleep 10
|
||||
COUNTER=0
|
||||
|
||||
while [ "$COUNTER" -lt "10" ]; do
|
||||
[ -e "/var/run/mysql/mysql.sock" ] && break
|
||||
echo "MySQL server is still not running. Waiting 5 seconds."
|
||||
sleep 5
|
||||
(( $COUNTER += 1 ))
|
||||
done
|
||||
|
||||
[ -e "/var/run/mysql/mysql.sock" ] || (echo "MySQL still noch running... Exiting."; \
|
||||
exit 1)
|
||||
|
||||
mysqladmin -u root --password='' password 'mysqlfire'
|
||||
|
||||
Reference in New Issue
Block a user