aboutsummaryrefslogtreecommitdiff
path: root/remoteconfigure-session-wrapper.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-11 16:38:12 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-11 16:38:12 +0200
commit531cca264a21552d80255334f9bf9f3e2cf19dbd (patch)
tree321585a00f721ef1f097835fd2b2eb292c1ba704 /remoteconfigure-session-wrapper.c
parent64da19d1fabaaa84cdf3589e6714c340eafee0e8 (diff)
downloadlightdm-remote-session-remoteconfigure-531cca264a21552d80255334f9bf9f3e2cf19dbd.tar.gz
lightdm-remote-session-remoteconfigure-531cca264a21552d80255334f9bf9f3e2cf19dbd.tar.bz2
lightdm-remote-session-remoteconfigure-531cca264a21552d80255334f9bf9f3e2cf19dbd.zip
Fork as new project: lightdm-remote-session-remoteconfigure.
Diffstat (limited to 'remoteconfigure-session-wrapper.c')
-rw-r--r--remoteconfigure-session-wrapper.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/remoteconfigure-session-wrapper.c b/remoteconfigure-session-wrapper.c
new file mode 100644
index 0000000..852d7f2
--- /dev/null
+++ b/remoteconfigure-session-wrapper.c
@@ -0,0 +1,32 @@
+/*
+ * Copyright © 2012 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 3, as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranties of
+ * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Author: Ted Gould <ted@canonical.com>
+ */
+
+#include <stdlib.h>
+#include <unistd.h>
+
+int
+main (int argc, char * argv[])
+{
+ char * args[2];
+ args[0] = PKGDATADIR "/remoteconfigure-session";
+ args[1] = NULL;
+
+ execvp(args[0], args);
+
+ return 0;
+}