Skip to content

Instantly share code, notes, and snippets.

View saper-2's full-sized avatar

saper-2

  • Poland
View GitHub Profile
@saper-2
saper-2 / slim-raspbian.sh
Created February 15, 2018 17:26 — forked from hyper3xpl0iter/slim-raspbian.sh
Script to remove bloatware from a fresh Raspbian Jessie install
#!/bin/bash
##############################################################################
#
# Filename: slim-raspbian.sh
# Description: Script to remove bloatware from fresh Raspbian Jessie install
# Source: https://github.com/hyper3xpl0iter/helper_scripts.git
# Author: Andre Mattie
# Email: devel@th3c1inic.org
# GPG: B9C0 3976 3CB4 794E D66C 8F75 8AA0 8470 3533 2EDD
@saper-2
saper-2 / README.md
Created January 8, 2018 17:26
Debian 9 nvidia-smi at boot from systemd
  1. Put 'nvload.service' into /etc/systemd/system
  2. chmod 664 nvload.service
  3. Put 'nvsmi-load.sh' script in e.g. /usr/local/nvsmi-load.sh
  4. chmod 744 nvsmi-load.sh
  5. Optionally correct path to the nvsmi-load.sh From root exec cmds:
  6. 'systemctl daemon-reload'
  7. 'systemctl enable nvload.service'
  8. To test if works exec: systemctl start nvload.service
  9. Check if /tmp/nvsmi-load.log exists and have expected contetn (output of nvidia-smi and if have current date & time at header).