Changeset 404


Ignore:
Timestamp:
11/29/08 20:48:37 (3 years ago)
Author:
tschmitt
Message:

paedml40-upgrade: div. Anpassungen bzgl. paedML 4.0.2; postinst: schulkonsole db.conf update nochmal verbessert.

Location:
main/linuxmuster-base/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/linuxmuster-base/trunk/debian/changelog

    r360 r404  
     1linuxmuster-base (1.4.44-1) testing; urgency=low 
     2 
     3  * paedml40-upgrade: minor fixes according to paedML Linux 4.0.2 
     4  * postinst: minor improvements for schulkonsole's db.conf update 
     5 
     6 -- Thomas Schmitt <schmitt@lmz-bw.de>  Sat, 29 Nov 2008 19:44:50 +0100 
     7 
    18linuxmuster-base (1.4.43-1) testing; urgency=low 
    29 
  • main/linuxmuster-base/trunk/debian/postinst

    r171 r404  
    601601        fi 
    602602 
    603         # ldap db user needs password (1.4.36-paedml1) 
    604         if ! grep -q "02.11.2008" /etc/linuxmuster/schulkonsole/db.conf; then 
     603        # ldap db user needs password (1.4.44-1) 
     604        dbconf=/etc/linuxmuster/schulkonsole/db.conf 
     605        dbuser=`grep ^Username $dbconf | awk -F\= '{ print $2 }'` 
     606        dbpwd=`grep ^Password $dbconf | awk -F\= '{ print $2 }'` 
     607        if [ "$dbuser" != "ldap" -o -z "$dbpwd" ]; then 
    605608                echo "Providing a random password for postgresql user ldap." 
    606609                echo "Warning: Backing up /etc/linuxmuster/schulkonsole/db.conf to db.conf.dpkg-old!" 
  • main/linuxmuster-base/trunk/share/tasks/upgrade40

    r153 r404  
    368368libzephyr3 
    369369libzzip-0-12 
    370 linux-headers-2.6.22-1-server 
    371 linux-image-2.6.22-1-server 
     370linux-headers-2.6.24-3-server 
     371linux-image-2.6.24-3-server 
     372linux-ubuntu-modules-2.6.24-3-server 
    372373linux-image-server 
    373374linux-kernel-headers 
     
    376377linuxmuster-nagios-base 
    377378linuxmuster-schulkonsole 
     379linuxmuster-schulkonsole-templates-base 
    378380linuxmuster-schulkonsole-wrapper 
    379381locales 
  • main/linuxmuster-base/trunk/share/upgrade/paedml40-upgrade.sh

    r156 r404  
    496496echo "Überprüfe installierte Pakete:" 
    497497for i in $checkpackages; do 
     498        if [ "$i" = "rembo" -o "$i" = "myshn" ]; then 
     499                [ "$imaging" = "rembo" ] || continue 
     500        fi 
     501        if [ "$i" = "linuxmuster-linbo" ]; then 
     502                [ "$imaging" = "linbo" ] || continue 
     503        fi 
    498504        unset status 
    499505        status=`dpkg -s $i | grep ^Status` 
     
    672678# restore nagios2 configuration 
    673679echo "Stelle Nagios2-Konfiguration wieder her ..." 
    674 rm -rf /etc/nagios2 
     680# test 
     681#rm -rf /etc/nagios2 
    675682tar xzf $nagiosbackup -C / 
    676683[ -e /etc/nagios2/resource.cfg ] || echo "# dummy config file created by paedML's etch-upgrade script" > /etc/nagios2/resource.cfg 
     
    745752fi 
    746753 
    747 # finally update release information 
     754# update release information 
    748755echo "$(getdistname) $DISTFULLVERSION / Codename $CODENAME" > /etc/issue 
    749756cp /etc/issue /etc/issue.net 
    750757cat /etc/issue 
     758echo 
     759 
     760# update kdm greetstring 
     761if [ -e /etc/kde/kdm/kdmrc ]; then 
     762        greetstr="`cat /etc/issue` auf %n" 
     763        sed -e "s|^GreetString=.*|GreetString=$greetstr|g" -i /etc/kde/kdm/kdmrc  
     764fi 
     765 
     766# finally do a reconfigure 
     767/etc/init.d/slapd start 
     768dpkg-reconfigure linuxmuster-base 
    751769echo 
    752770 
Note: See TracChangeset for help on using the changeset viewer.