File correct_live_for_reboot of Package yast2-live-installer
#! /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
if test -e /etc/init.d/boot.compcache; then
chkconfig boot.compcache off
fi
rm /usr/lib/systemd/system/sysinit.target.wants/langset.service || true
rm /usr/lib/systemd/system/langset.service /usr/lib/systemd/system/sysinit.target.wants/langset.service || true
: > /var/run/utmp
#undo journald.conf changes, bug 950999
sed -i -e s@Storage=volatile@@ /etc/systemd/journald.conf