linux-modules-cleanup.service

This unit is provided by:

Options

  • [Install]
  • [Service]
    • ExecStart=/bin/bash -exc 'for i in /usr/lib/modules/[0-9]*; do if [[ $${i##*/} = \'%v\' ]] || pacman -Qo "$${i}"; then continue; fi; rsync -AHXal "$${i}" /usr/lib/modules/.old/; rm -rf "$${i}"; done'
    • Type=oneshot
  • [Unit]

Additionnal notes

Nothing here.