Skip to content

Instantly share code, notes, and snippets.

View tmkasun's full-sized avatar
🇱🇰

Kasun Thennakoon tmkasun

🇱🇰
View GitHub Profile
@tmkasun
tmkasun / how-to-setup-verified-commits.md
Created September 1, 2021 15:15 — forked from Beneboe/how-to-setup-verified-commits.md
How to Setup Verified Commits on Github
@tmkasun
tmkasun / rrdbackup
Created January 8, 2021 02:57
OpenWrt /etc/init.d/ script to backup and restore the rrd (collectd) database, to preserve data across reboots
#!/bin/sh /etc/rc.common
# OpenWrt /etc/init.d/ script to backup and restore the rrd (collectd) database, to preserve data across reboots
#
#
# howto:
# - upload this file as /etc/init.d/rrdbackup
# - (optional) adjust BACKUP_DIR below to point to a different target directory for the backup (e.g., a USB drive)
# - # chmod +x /etc/init.d/rrdbackup
# - # /etc/init.d/rrdbackup enable