File correct_live_for_reboot of Package kiwi-config-openSUSE

#! /bin/sh

# this script is called from the live installer once it finished copying the live
# image. So we only do the minimal changes necessary to reboot into the system

is_usb=0
if test "$1" = usb; then
  is_usb=1
fi

chkconfig sshd on
chkconfig cron on
chkconfig boot.ldconfig on
chkconfig boot.langset off
if test -e /etc/init.d/boot.compcache; then
   chkconfig boot.compcache off
fi

: > /var/run/utmp

# remove live-cd user
userdel linux
# a lot of stuff!
rm -rf /home/linux/.local/share/akonadi
mv /home/linux /home/linux~
openSUSE Build Service is sponsored by