sudo mount /dev/mmcblk1p5 /mnt
for i in /dev /proc /sys /run; do sudo mount -R $i /mnt$i; done
sudo chroot /mnt
mount -a
grub-install
update-grub
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
/* ProtonVPN Auth Blocks */ | |
require authentication { | |
mask 2.58.241.?; | |
reason "[x] ProtonVPN can only be used by registered users. Identify via SASL or register your nickname. Info: https://domain.tld/protonvpn [x]"; | |
} | |
require authentication { | |
mask 5.8.16.?; | |
reason "[x] ProtonVPN can only be used by registered users. Identify via SASL or register your nickname. Info: https://domain.tld/protonvpn [x]"; |
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
21:17:00 <BATAL> Hello, I have a question as far as doing a clean exit on the PuTTY wjere my Bot does not get get ruined. | |
21:17:21 <BATAL> What is the right command to exit PuTTY in order not to mess up the eggdrop | |
21:17:23 <BATAL> ? | |
21:18:09 <TheGuardian> if you start eggdrop in the shell with the command ./eggdrop eggdrop.conf, it will run in the background | |
21:18:30 <TheGuardian> so, exiting the shell won't terminate the process | |
21:18:34 <BATAL> ok and what if i exit PuTTY | |
21:18:39 <BATAL> ok i see | |
21:18:51 <BATAL> why do i get a problem in the DCC chat on mirc then | |
21:19:00 <BATAL> where the bot mentions in the chat | |
21:19:06 <BATAL> cannot read file |
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 bash | |
# NOTE: | |
# This script was made to work with certbot. I don't guarantee it will | |
# work with other ACME clients. | |
# | |
# This was tested in Ubuntu 20.04 and higher. This should work as it is on | |
# any Debian/Ubuntu based distros. For other distros please check Certbot | |
# documentation. | |
# |
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 bash | |
#------------------------------------------------------# | |
# This script was tested on Ubuntu 20.04 and newer # | |
# # | |
# This script cleans up the SQLite database, plaintext # | |
# files and uploaded files # | |
#------------------------------------------------------# | |
#-------------------------------------------------------------------------------------# |
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 sh | |
# Shell script to manage Quassel certificates with Let's Encrypt and Certbot | |
########## | |
# Domain/subdomain of your Quassel installation | |
########## | |
qDomain=quassel.domain.tld | |
########## | |
# Quassel configdir (usually `/var/lib/quassel' when installed via apt) |
- Messageparser.md
- Triggered by any of the
[words]
on the list
- Triggered by any of the
- Commands.md
- Used to display info or just have fun
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
[Unit] | |
Description=Limnoria | |
[Service] | |
WorkingDirectory=/home/bot/botname | |
ExecStart=/usr/local/bin/supybot botname.conf | |
Restart=on-failure | |
[Install] | |
WantedBy=default.target |
Shell scripts to automate SSL certs renewal for ZNC with Certbot
NOTE: This was tested on Ubuntu 20.04 and newer
Follow instructions from here and edit the scripts paths to fit your installation.
Use znc_old.sh for ZNC verions under 1.7.0 and znc_new for ZNC 1.7.0+
- Create a folder named
scripts
inside/etc/letsencrypt
with:
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
#--------------------------------------------------# | |
# Be sure to have screen installed in your machine # | |
# Systemd unit tested on Ubuntu 18.04 and newer # | |
#--------------------------------------------------# | |
#----------------------------------------------------------------------------# | |
# This script will start the bot under a dettached screen session so you can # | |
# attach to the session and use the terminal to simulate DCC chat # | |
# You can still use telnet to connect to the bot, nonetheless # | |
#----------------------------------------------------------------------------# |
OlderNewer