From 8e671de7db85eaf33df48c6577563184ee4bed96 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Sat, 3 Jun 2023 07:49:40 +0200 Subject: [PATCH] committing changes in /etc made by "/usr/bin/apt purge g15daemon libg15-1 libg15render1" 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 | 2 - default/g15daemon | 9 ---- init.d/g15daemon | 125 --------------------------------------------- rc0.d/K01g15daemon | 1 - rc1.d/K01g15daemon | 1 - rc2.d/K01g15daemon | 1 - rc3.d/K01g15daemon | 1 - rc4.d/K01g15daemon | 1 - rc5.d/K01g15daemon | 1 - rc6.d/K01g15daemon | 1 - 10 files changed, 143 deletions(-) delete mode 100644 default/g15daemon delete mode 100755 init.d/g15daemon delete mode 120000 rc0.d/K01g15daemon delete mode 120000 rc1.d/K01g15daemon delete mode 120000 rc2.d/K01g15daemon delete mode 120000 rc3.d/K01g15daemon delete mode 120000 rc4.d/K01g15daemon delete mode 120000 rc5.d/K01g15daemon delete mode 120000 rc6.d/K01g15daemon diff --git a/.etckeeper b/.etckeeper index a1dfef1..59eb504 100755 --- a/.etckeeper +++ b/.etckeeper @@ -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 index 78528e2..0000000 --- a/default/g15daemon +++ /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 index f3135c3..0000000 --- a/init.d/g15daemon +++ /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 index 423fe7b..0000000 --- a/rc0.d/K01g15daemon +++ /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 index 423fe7b..0000000 --- a/rc1.d/K01g15daemon +++ /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 index 423fe7b..0000000 --- a/rc2.d/K01g15daemon +++ /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 index 423fe7b..0000000 --- a/rc3.d/K01g15daemon +++ /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 index 423fe7b..0000000 --- a/rc4.d/K01g15daemon +++ /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 index 423fe7b..0000000 --- a/rc5.d/K01g15daemon +++ /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 index 423fe7b..0000000 --- a/rc6.d/K01g15daemon +++ /dev/null @@ -1 +0,0 @@ -../init.d/g15daemon \ No newline at end of file -- 2.39.5