Subversion Repositories livecd

Rev

Rev 125 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 125 Rev 137
Line 69... Line 69...
69
NEW=/mnt/harddisk
69
NEW=/mnt/harddisk
70
 
70
 
71
# Name of the script
71
# Name of the script
72
SCRIPTNAME=$( basename $0 )
72
SCRIPTNAME=$( basename $0 )
73
 
73
 
-
 
74
# dir of mounted /$MOUNTDIR/live
-
 
75
MOUNTDIR=livecd
74
 
76
 
75
 
77
 
76
 
78
 
77
###############################################################
79
###############################################################
78
# Functions
80
# Functions
Line 650... Line 652...
650
### turn on check_update again (only at PSI)
652
### turn on check_update again (only at PSI)
651
### -----------------------------------------------------------
653
### -----------------------------------------------------------
652
chroot $NEW chkconfig check_update on 2>/dev/null
654
chroot $NEW chkconfig check_update on 2>/dev/null
653
 
655
 
654
 
656
 
-
 
657
### fix some services which were disabled 
-
 
658
### because of diskless NFS client
-
 
659
### -----------------------------------------------------------
-
 
660
if [ -e /$MOUNTDIR/service.on ]; then
-
 
661
    cat /$MOUNTDIR/service.on | while read $serv; do
-
 
662
	chroot $NEW chkconfig $serv on
-
 
663
    done
-
 
664
fi
-
 
665
 
-
 
666
 
655
### remove some files
667
### remove some files
656
### -----------------------------------------------------------
668
### -----------------------------------------------------------
657
rm -rf $NEW/usr/share/applications/livecd-install-gui.desktop
669
rm -rf $NEW/usr/share/applications/livecd-install-gui.desktop
658
rm -rf $NEW/usr/share/applications/save-localdata.desktop
670
rm -rf $NEW/usr/share/applications/save-localdata.desktop
659
 
671