]> Frank Brehm's Git Trees - config/bruni/etc-mint-new1.git/commitdiff
committing changes in /etc made by "/usr/bin/apt purge g15daemon libg15-1 libg15render1"
authorFrank Brehm <frank@brehm-online.com>
Sat, 3 Jun 2023 05:49:40 +0000 (07:49 +0200)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Sat, 3 Jun 2023 05:49:40 +0000 (07:49 +0200)
Package changes:
-g15daemon 1.9.5.3-12 amd64
-libg15-1 1.3.0~svn324-2 amd64
-libg15render1 1.3.0~svn316-3 amd64

.etckeeper
default/g15daemon [deleted file]
init.d/g15daemon [deleted file]
rc0.d/K01g15daemon [deleted symlink]
rc1.d/K01g15daemon [deleted symlink]
rc2.d/K01g15daemon [deleted symlink]
rc3.d/K01g15daemon [deleted symlink]
rc4.d/K01g15daemon [deleted symlink]
rc5.d/K01g15daemon [deleted symlink]
rc6.d/K01g15daemon [deleted symlink]

index a1dfef15c232ba13fbe1d85d552b25332457b03a..59eb504ab304e585525c07e85a374e1c523d6eb0 100755 (executable)
@@ -1474,7 +1474,6 @@ maybe chmod 0644 'default/crda'
 maybe chmod 0644 'default/cron'
 maybe chmod 0644 'default/cryptdisks'
 maybe chmod 0644 'default/dbus'
-maybe chmod 0644 'default/g15daemon'
 maybe chmod 0644 'default/google-chrome'
 maybe chmod 0644 'default/grub'
 maybe chmod 0755 'default/grub.d'
@@ -2165,7 +2164,6 @@ maybe chmod 0755 'init.d/cups'
 maybe chmod 0755 'init.d/cups-browsed'
 maybe chmod 0755 'init.d/dbus'
 maybe chmod 0755 'init.d/dns-clean'
-maybe chmod 0755 'init.d/g15daemon'
 maybe chmod 0755 'init.d/gdm3'
 maybe chmod 0755 'init.d/grub-common'
 maybe chmod 0755 'init.d/hddtemp'
diff --git a/default/g15daemon b/default/g15daemon
deleted file mode 100644 (file)
index 78528e2..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Defaults for g15daemon initscript
-
-# SWITCH_KEY option was removed. Use DAEMON_OPTS="-s" instead.
-
-# Turn on debugging of g15 init.d and udev scripts
-#G15DEBUG="on"
-
-# Additional options that are passed to the Daemon.
-DAEMON_OPTS=""
diff --git a/init.d/g15daemon b/init.d/g15daemon
deleted file mode 100755 (executable)
index f3135c3..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
-#! /bin/sh
-
-### BEGIN INIT INFO
-# Provides:          g15daemon
-# Required-Start:    $syslog $local_fs $remote_fs
-# Required-Stop:     $syslog $local_fs $remote_fs
-# Should-Start:      $remote_fs
-# Should-Stop:       $remote_fs
-# X-Start-Before:    xdm kdm gdm ldm sdm
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: load deamon for Logitech G15 keyboard lcd display
-# Description:       load deamon for Logitech G15 keyboard lcd display
-### END INIT INFO
-
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/g15daemon
-NAME=g15daemon
-DESC="Logitech G15 keyboard LCD multiplexer"
-
-[ -x "$DAEMON" ] || exit 0
-
-. /lib/lsb/init-functions
-
-# Include g15daemon defaults if available
-if [ -f /etc/default/g15daemon ] ; then
-    . /etc/default/g15daemon
-fi
-
-if [ "$G15DEBUG" = "on" ]; then
-
-log() {
-    logger -p daemon.debug -t g15 -- "$*"
-}
-else
-
-log() {
-    true
-}
-
-fi
-
-check_new_init() {
-    if [ -d /run/systemd/system ] ; then
-        exit $1
-    fi
-}
-
-load_uinput() {
-    if [ ! -e /dev/uinput ] ; then
-        modprobe -q uinput
-        udevadm settle -t 5 -E /dev/uinput
-        [ -e /dev/uinput 3 ] || return 1
-    fi
-}
-
-is_running() {
-   start-stop-daemon --stop --test --quiet --pidfile \
-        /var/run/$NAME.pid --exec $DAEMON
-}
-
-do_start() {
-    start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-        --exec $DAEMON -- $DAEMON_OPTS
-}
-
-do_stop() {
-    start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
-        --oknodo --retry 5 --exec $DAEMON
-}
-
-case "$1" in
-    start)
-        log_daemon_msg "Starting $DESC" $NAME
-        load_uinput || log_warning_msg "/dev/uinput not found"
-        do_start
-        log_end_msg $?
-        ;;
-    stop)
-        log_daemon_msg "Stopping $DESC" $NAME
-        if do_stop ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-            exit 1
-        fi
-        ;;
-    force-reload)
-        is_running && $0 restart || exit 0
-        ;;
-    restart)
-        log_daemon_msg "Restarting $DESC" $NAME
-        if ! do_stop ; then
-            log_end_msg 1
-            exit 1
-        fi
-        # the device is slow to shut-down
-        sleep 1
-        load_uinput || log_warning_msg "/dev/uinput not found"
-        do_start
-        log_end_msg $?
-        ;;
-    status)
-        is_running
-        exit $?
-        ;;
-    udev)
-        check_new_init 0
-        log "calling g15 udev; action: $ACTION, product $PRODUCT"
-        if [ "x$ACTION" = "xadd" ] ; then
-            # If g15daemon is running, it will handle replugging.
-            is_running && exit 0
-            load_uinput
-            do_start
-        fi
-        ;;
-    *)
-        N=/etc/init.d/$NAME
-        log_action_msg "Usage: $N {start|stop|restart|force-reload|status}"
-        exit 1
-        ;;
-esac
-
-exit 0
diff --git a/rc0.d/K01g15daemon b/rc0.d/K01g15daemon
deleted file mode 120000 (symlink)
index 423fe7b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/g15daemon
\ No newline at end of file
diff --git a/rc1.d/K01g15daemon b/rc1.d/K01g15daemon
deleted file mode 120000 (symlink)
index 423fe7b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/g15daemon
\ No newline at end of file
diff --git a/rc2.d/K01g15daemon b/rc2.d/K01g15daemon
deleted file mode 120000 (symlink)
index 423fe7b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/g15daemon
\ No newline at end of file
diff --git a/rc3.d/K01g15daemon b/rc3.d/K01g15daemon
deleted file mode 120000 (symlink)
index 423fe7b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/g15daemon
\ No newline at end of file
diff --git a/rc4.d/K01g15daemon b/rc4.d/K01g15daemon
deleted file mode 120000 (symlink)
index 423fe7b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/g15daemon
\ No newline at end of file
diff --git a/rc5.d/K01g15daemon b/rc5.d/K01g15daemon
deleted file mode 120000 (symlink)
index 423fe7b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/g15daemon
\ No newline at end of file
diff --git a/rc6.d/K01g15daemon b/rc6.d/K01g15daemon
deleted file mode 120000 (symlink)
index 423fe7b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../init.d/g15daemon
\ No newline at end of file