From 4b1ac7258db06b29b8efeccf2b639f1b0e1d193d Mon Sep 17 00:00:00 2001 From: milisbir Date: Wed, 9 Aug 2017 18:10:51 +0300 Subject: [PATCH] nodm.pakerlendi --- talimatname/genel/nodm/nodm.conf | 23 +++++++++++++++++++++++ talimatname/genel/nodm/talimat | 20 ++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 talimatname/genel/nodm/nodm.conf create mode 100644 talimatname/genel/nodm/talimat diff --git a/talimatname/genel/nodm/nodm.conf b/talimatname/genel/nodm/nodm.conf new file mode 100644 index 000000000..3b50785d0 --- /dev/null +++ b/talimatname/genel/nodm/nodm.conf @@ -0,0 +1,23 @@ +# nodm configuration file + +# Controls the user that is used to automatically log in +NODM_USER='{user}' + +# Options to pass to the X server (for example: "vt7 -nolisten +# tcp") +NODM_X_OPTIONS='vt7 -nolisten tcp' + +# Minimum time (in seconds) that a session should last in order +# for nodm to decide that it has not quit too soon. If an X +# session will run for less than this time, nodm will wait an +# increasing bit of time before restarting it. +NODM_MIN_SESSION_TIME=60 + +# X session command (default: /etc/X11/Xsession). It is run using +# the shell, so it can be any shell command. +NODM_XSESSION='/root/.xinitrc' + +# Timeout (in seconds) to wait for X to be ready to accept +# connections. If X is not ready before this timeout, it is killed +# and restarted. +NODM_X_TIMEOUT=20 diff --git a/talimatname/genel/nodm/talimat b/talimatname/genel/nodm/talimat new file mode 100644 index 000000000..e2c35651e --- /dev/null +++ b/talimatname/genel/nodm/talimat @@ -0,0 +1,20 @@ +# Description: X giriş yöneticisi +# URL: http://enricozini.org/sw/nodm/ +# Packager: milisarge +# Depends on: help2man xorg-xinit + +name=nodm +version=0.13 +release=1 +source=(https://github.com/spanezz/nodm/archive/0.13.tar.gz::$name-$version.tar.gz + nodm.conf) + +build() { + cd "$SRC/$name-$version" + ./autogen.sh + ./configure --prefix=/usr/ + make + install -Dm755 nodm $PKG/usr/bin/nodm + install -Dm644 ../nodm.conf $PKG/etc/nodm.conf + +}