summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise')
-rwxr-xr-xubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity4
-rwxr-xr-xubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity4
2 files changed, 4 insertions, 4 deletions
diff --git a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity
index a018471b7..1ce0d51e1 100755
--- a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity
+++ b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity
@@ -20,13 +20,13 @@ esac
log_begin_msg "$DESCRIPTION"
-if [ -f /root/etc/trinity/kdm/kdmrc ]; then
+if [ -f /root/etc/trinity/tdm/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/kdm/kdmrc
+ /root/etc/trinity/tdm/kdmrc
fi
if [ -f /root/etc/trinity/tdm/tdmrc ]; then
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity
index e31165c02..e265c8a04 100755
--- a/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity
@@ -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/kdm/kdmrc ]; then
+ if $chroot $ROOT [ -f /etc/trinity/tdm/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/kdm/kdmrc
+ /etc/trinity/tdm/kdmrc
fi
if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then