diff options
| author | Michael Neves | 2013-02-01 17:16:57 +0100 |
|---|---|---|
| committer | Michael Neves | 2013-02-01 17:16:57 +0100 |
| commit | 1ffb3b89e4587f8fbb4be30eb81057ed701ffda0 (patch) | |
| tree | 7cfb2e9c3b6119f7f442cabcda276ad611b4db66 /remote/tools/ldm | |
| parent | removed double files (diff) | |
| download | tm-scripts-1ffb3b89e4587f8fbb4be30eb81057ed701ffda0.tar.gz tm-scripts-1ffb3b89e4587f8fbb4be30eb81057ed701ffda0.tar.xz tm-scripts-1ffb3b89e4587f8fbb4be30eb81057ed701ffda0.zip | |
fixes
Diffstat (limited to 'remote/tools/ldm')
| l--------- | remote/tools/ldm/data/etc/systemd/system/graphical.target.wants/lightdm.service | 1 | ||||
| -rw-r--r-- | remote/tools/ldm/data/etc/systemd/system/lightdm.service | 10 | ||||
| -rw-r--r-- | remote/tools/ldm/ldm.build | 3 |
3 files changed, 14 insertions, 0 deletions
diff --git a/remote/tools/ldm/data/etc/systemd/system/graphical.target.wants/lightdm.service b/remote/tools/ldm/data/etc/systemd/system/graphical.target.wants/lightdm.service new file mode 120000 index 00000000..c7aaa65a --- /dev/null +++ b/remote/tools/ldm/data/etc/systemd/system/graphical.target.wants/lightdm.service @@ -0,0 +1 @@ +../lightdm.service
\ No newline at end of file diff --git a/remote/tools/ldm/data/etc/systemd/system/lightdm.service b/remote/tools/ldm/data/etc/systemd/system/lightdm.service new file mode 100644 index 00000000..99911bff --- /dev/null +++ b/remote/tools/ldm/data/etc/systemd/system/lightdm.service @@ -0,0 +1,10 @@ +[Unit] +Description=LightDM Display Manager +Requires=dev-tty7.device +After=dev-tty7.device systemd-user-sessions.service + +[Service] +ExecStart=/sbin/lightdm + +[Install] +WantedBy=graphical.target diff --git a/remote/tools/ldm/ldm.build b/remote/tools/ldm/ldm.build index 0b18124f..67b62a3a 100644 --- a/remote/tools/ldm/ldm.build +++ b/remote/tools/ldm/ldm.build @@ -49,5 +49,8 @@ post_copy() { [ ! -d ${INIT_DIR}/var/lib/lightdm ] && mkdir -p ${INIT_DIR}/var/lib/lightdm touch ${INIT_DIR}/var/lib/lightdm/.Xauthority chown -R lightdm:lightdm ${INIT_DIR}/var/lib/lightdm/ + #copyi static data files + cp -r ${TOOL_DIR}/${TOOL}/data/* ${INIT_DIR} + } |
