Revert last rename kdm as tdm in casper-trinity and ubiquity-trinity on Ubuntu

Scripts were designed to handle both - kdm/kdmrc as well as tdm/tdmrc
pull/3/head
Slávek Banko 12 years ago
parent 1bc800c7b0
commit 5d09b173f5

@ -20,13 +20,13 @@ esac
log_begin_msg "$DESCRIPTION"
if [ -f /root/etc/trinity/tdm/kdmrc ]; then
if [ -f /root/etc/trinity/kdm/kdmrc ]; then
# Configure KDM-Trinity autologin
sed -i -r \
-e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \
-e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \
-e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \
/root/etc/trinity/tdm/kdmrc
/root/etc/trinity/kdm/kdmrc
fi
if [ -f /root/etc/trinity/tdm/tdmrc ]; then

@ -13,13 +13,13 @@ db_get passwd/username
USER="$RET"
db_get passwd/auto-login
if [ -n "$USER" ] && [ "$RET" = true ]; then
if $chroot $ROOT [ -f /etc/trinity/tdm/kdmrc ]; then
if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then
# Configure KDM autologin
$log $chroot $ROOT sed -i$BACKUP -r \
-e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \
-e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \
-e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \
/etc/trinity/tdm/kdmrc
/etc/trinity/kdm/kdmrc
fi
if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then

@ -20,13 +20,13 @@ esac
log_begin_msg "$DESCRIPTION"
if [ -f /root/etc/trinity/tdm/kdmrc ]; then
if [ -f /root/etc/trinity/kdm/kdmrc ]; then
# Configure KDM-Trinity autologin
sed -i -r \
-e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \
-e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \
-e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \
/root/etc/trinity/tdm/kdmrc
/root/etc/trinity/kdm/kdmrc
fi
if [ -f /root/etc/trinity/tdm/tdmrc ]; then

@ -13,13 +13,13 @@ db_get passwd/username
USER="$RET"
db_get passwd/auto-login
if [ -n "$USER" ] && [ "$RET" = true ]; then
if $chroot $ROOT [ -f /etc/trinity/tdm/kdmrc ]; then
if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then
# Configure KDM autologin
$log $chroot $ROOT sed -i$BACKUP -r \
-e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \
-e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \
-e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \
/etc/trinity/tdm/kdmrc
/etc/trinity/kdm/kdmrc
fi
if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then

Loading…
Cancel
Save