[ Avaa Bypassed ]




Upload:

Command:

www-data@3.144.250.2: ~ $
#! /bin/sh
### BEGIN INIT INFO
# Provides:          gdm3
# Should-Start:      console-screen dbus network-manager
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: GNOME Display Manager
# Description:       Debian init script for the GNOME Display Manager
### END INIT INFO
#
# Author:       Ryan Murray <rmurray@debian.org>
#
set -e

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/gdm3
PIDFILE=/var/run/gdm3.pid

test -x $DAEMON || exit 0

if [ -r /etc/default/locale ]; then
  . /etc/default/locale
  export LANG LANGUAGE
fi

. /lib/lsb/init-functions

# To start gdm even if it is not the default display manager, change
# HEED_DEFAULT_DISPLAY_MANAGER to "false."
HEED_DEFAULT_DISPLAY_MANAGER=true
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager

activate_logind() {
  # Try to dbus activate logind to avoid a race conditions if we are not
  # running systemd as PID1 and we have systemd << 204 package installed (see:
  # #747292)
  if [ ! -d /run/systemd/system ] && [ -x /lib/systemd/systemd-logind-launch ]; then
    dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus \
      org.freedesktop.DBus.StartServiceByName string:org.freedesktop.login1 uint32:0 2>&1 > /dev/null
  fi
}

case "$1" in
  start)
        CONFIGURED_DAEMON=$(basename "$(cat $DEFAULT_DISPLAY_MANAGER_FILE 2> /dev/null)")
        if grep -wqs text /proc/cmdline; then
            log_warning_msg "Not starting GNOME Display Manager; found 'text' in kernel commandline."
        elif [ -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] && \
           [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] && \
           [ "$CONFIGURED_DAEMON" != gdm3 ] ; then
                log_action_msg "Not starting GNOME Display Manager; it is not the default display manager"
        else
                log_daemon_msg "Starting GNOME Display Manager" "gdm3"
                activate_logind || log_end_msg 1
                /usr/share/gdm/generate-config
                start-stop-daemon --start --quiet --pidfile $PIDFILE \
			--background --exec $DAEMON || log_end_msg 1
                log_end_msg 0
        fi
  ;;
  stop)
        log_daemon_msg "Stopping GNOME Display Manager" "gdm3"
        set +e
        start-stop-daemon --stop --quiet --pidfile $PIDFILE \
                --name gdm3 --retry 5
        set -e
        log_end_msg $?
  ;;
  reload)
        log_daemon_msg "Scheduling reload of GNOME Display Manager configuration" "gdm3"
        /usr/share/gdm/generate-config
        set +e
        start-stop-daemon --stop --signal HUP --quiet --pidfile $PIDFILE \
                --name gdm3
        set -e
        log_end_msg $?
  ;;
  status)
        status_of_proc -p "$PIDFILE" "$DAEMON" gdm3 && exit 0 || exit $?
  ;;
  restart|force-reload)
        $0 stop
        $0 start
  ;;
  *)
        echo "Usage: /etc/init.d/gdm3 {start|stop|restart|reload|force-reload|status}"
        exit 1
  ;;
esac

exit 0

Filemanager

Name Type Size Permission Actions
K01apache-htcacheclean File 2.43 KB 0755
K01speech-dispatcher File 1.99 KB 0755
S01acpid File 2.22 KB 0755
S01anacron File 2.01 KB 0755
S01apache2 File 7.99 KB 0755
S01apport File 2.85 KB 0755
S01avahi-daemon File 2.34 KB 0755
S01bluetooth File 2.9 KB 0755
S01console-setup.sh File 1.2 KB 0755
S01cron File 2.99 KB 0755
S01cups File 2.74 KB 0755
S01cups-browsed File 1.92 KB 0755
S01dbus File 3.08 KB 0755
S01gdm3 File 2.96 KB 0755
S01grub-common File 985 B 0755
S01irqbalance File 2.58 KB 0755
S01kerneloops File 3.06 KB 0755
S01mysql File 5.48 KB 0755
S01openvpn File 8.92 KB 0755
S01plymouth File 1.33 KB 0755
S01pulseaudio-enable-autospawn File 469 B 0755
S01rsync File 4.31 KB 0755
S01rsyslog File 2.8 KB 0755
S01saned File 2.17 KB 0755
S01spice-vdagent File 2.43 KB 0755
S01ssh File 3.85 KB 0755
S01unattended-upgrades File 1.36 KB 0755
S01uuidd File 1.28 KB 0755
S01vm-agent File 8.28 KB 0550
S01vsftpd File 2.02 KB 0755
S01whoopsie File 485 B 0755
S01xrdp File 7.12 KB 0755