Changeset 5635cdb


Ignore:
Timestamp:
01/04/15 18:47:05 (7 months ago)
Author:
Eric Turgeon <ericbsd@…>
Branches:
master, enter/10, releng/10.1.1, releng/10.1.2
Children:
f5baa83, 6927a85
Parents:
f1a58c7
Message:

Changing GhostBSD autologin code to support PCDM instead of GDM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pcbsd-utils/pc-sysinstall/backend/functions-users.sh

    rea12c5c r5635cdb  
    5050      AUTOU="${VAL}" 
    5151      # Adding the auto-login user line 
    52       sed -i "" "s/ghostbsd/${AUTOU}/g" ${FSMNT}/usr/local/etc/gdm/custom.conf 
     52      sed -i "" "s/ghostbsd/${AUTOU}/g" ${FSMNT}/usr/local/share/PCDM/pcdm.conf 
    5353    else 
    5454      # Remmoving the auto-login & ghostbsd user line 
    55       sed -i "" "s/AutomaticLoginEnable=true/AutomaticLoginEnable=false/g" ${FSMNT}/usr/local/etc/gdm/custom.conf 
    56       ( echo 'g/ghostbsd/d' ; echo 'wq' ) | ex -s ${FSMNT}/etc/rc.conf 
     55      sed -i "" "s/ENABLE_AUTO_LOGIN=TRUE/ENABLE_AUTO_LOGIN=FALSE/g" ${FSMNT}/usr/local/share/PCDM/pcdm.conf 
     56      sed -i "" "s/ghostbsd/no-username/g" ${FSMNT}/usr/local/share/PCDM/pcdm.conf 
    5757    fi 
    5858  fi 
Note: See TracChangeset for help on using the changeset viewer.