| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/lightdm/ |
Upload File : |
#!/bin/sh
# -*- Mode: sh; indent-tabs-mode: nil; tab-width: 4 -*-
#
# Copyright (C) 2011 Canonical Ltd
# Author: Michael Terry <michael.terry@canonical.com>
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, version 3 of the License.
#
# See http://www.gnu.org/copyleft/gpl.html the full text of the license.
# This wrapper merely ensures that dbus-daemon lives only as long as this
# script does. Otherwise, it's very easy for dbus-daemon to be autolaunched
# and detached from the greeter.
trap cleanup TERM EXIT
cleanup()
{
trap - TERM EXIT
if [ -n "$DBUS_SESSION_BUS_PID" ]; then
kill "$DBUS_SESSION_BUS_PID"
fi
if [ -n "$CMD_PID" ]; then
kill "$CMD_PID"
fi
exit 0
}
[ -n "$DBUS_SESSION_BUS_ADDRESS" ] || eval `dbus-launch --sh-syntax`
exec $@ &
CMD_PID=$!
wait $CMD_PID
CMD_PID=