This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install to /usr/local/bin/dkms-sign-module (mode 0744) | |
# Create /etc/dkms/<module>.conf with contents: | |
# POST_BUILD=../../../../../../usr/local/bin/dkms-sign-module | |
set -x | |
do_sign() { | |
/lib/modules/$kernelver/build/scripts/sign-file sha256 /etc/kernel/mok/mok.{key,der} "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import cgi | |
import cgitb | |
import mysql.connector | |
DB_HOST = 'localhost' | |
DB_DATABASE = '' | |
DB_USER = '' | |
DB_PASS = '' |