Skip to content

Commit

Permalink
Add some nemomobile stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed May 20, 2021
1 parent edc7458 commit a369c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/functions.sh
Expand Up @@ -329,7 +329,7 @@ create_rootfs_img() {
done < $srv_list

#disabling services depending on edition
if [ "$EDITION" != lomiri ] && [ "$EDITION" != plasma-mobile ] && [ "$EDITION" != plasma-mobile-dev ] && [ "$EDITION" != phosh ] && [ "$EDITION" != "cubocore" ]; then
if [ "$EDITION" != nemomobile ] && [ "$EDITION" != lomiri ] && [ "$EDITION" != plasma-mobile ] && [ "$EDITION" != plasma-mobile-dev ] && [ "$EDITION" != phosh ] && [ "$EDITION" != "cubocore" ]; then
if [ -f $ROOTFS_IMG/rootfs_$ARCH/usr/lib/systemd/system/lightdm.service ]; then
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH systemctl disable lightdm.service 1> /dev/null 2>&1
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH usermod --expiredate= lightdm 1> /dev/null 2>&1
Expand Down Expand Up @@ -364,7 +364,7 @@ create_rootfs_img() {
cubocore|plasma-mobile|plasma-mobile-dev)
echo "No OEM setup!"
;;
phosh|lomiri)
phosh|lomiri|nemomobile)
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH groupadd -r autologin
$NSPAWN $ROOTFS_IMG/rootfs_$ARCH gpasswd -a "$USER" autologin
;;
Expand Down

0 comments on commit a369c34

Please sign in to comment.