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
#### Contents of the preconfiguration file (for bionic) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/locale string en_GB | |
# Keyboard selection. | |
# Disable automatic (interactive) keymap detection. | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/xkb-keymap select gb |
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
bionic | |
bionic-updates | |
bionic-backports | |
xenial | |
xenial-updates | |
xenial-backports |
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 | |
#Backup or restore an OpenLDAP database | |
#Backup Mode produces time-stamped LDIF files of the config (n=0) and main (n=1) slapd databases. Does not interfere. | |
#Restore Mode assumes previous backups made by this script. Offers the user the backup file to restore, then in sequence: | |
#-stops slapd | |
#-deletes existing slapd config and database files | |
#-restores the LDIFs | |
#-sets permissions on restored files | |
#-starts slapd | |
# |
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/sh | |
set -eu; | |
inputFile="$1"; | |
if [ ! -f "$1" ]; then | |
echo "$1 is not a file!"; | |
exit 1; | |
fi |