diff options
author | Bob Funk <bobfunk11@gmail.com> | 2022-11-18 06:12:12 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-19 10:08:11 +0700 |
commit | 8e22868acfb29c9079d8ccf789bdf7043a7f11c2 (patch) | |
tree | f1406c29f5672e97bfdc3b7c5ac16d43eb01e0cb /desktop/gdm/gdm.wrap | |
parent | 0209d3c309087083a4f95159eda0be1f9dbdfe40 (diff) |
desktop/gdm: Add wrapper script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gdm/gdm.wrap')
-rw-r--r-- | desktop/gdm/gdm.wrap | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/gdm/gdm.wrap b/desktop/gdm/gdm.wrap new file mode 100644 index 000000000000..48aca9381bad --- /dev/null +++ b/desktop/gdm/gdm.wrap @@ -0,0 +1,11 @@ +#!/bin/bash +# +# GDM Wrapper Script +# +# Slackware starts GDM with "/usr/sbin/gdm -nodaemon", which is invalid and +# crashes GDM and runlevel 4. Since its not being fixed, lets sanitize that +# ourselves with a wrapper script. + +sanitized_opts="$(echo $@ | sed 's/-nodaemon//g')" +exec /usr/sbin/gdm-bin "$sanitized_opts" + |