Blame | Last modification | View Log | RSS feed
#! /bin/bash################################################################################# Post install script# Must return 0 if all is well#function error(){echo "ERROR: $*"exit 1}# Insert the configure script into the kde startupcf='/root/vix/configureVM'[ -f "$cf" ] || error "Cannot find file" $cfkdestart=/etc/kde4/kdm/Xsetup[ -f "$kdestart" ] || error "Cannot find file:" $kdestart# Remove any line that contains our script name# then add our script name#sed -i "$kdestart" -e '/configureVM/d'echo "$cf -auto" >> "$kdestart"## Run the script self installer#"$cf" -installtrue