General update to sync.
This commit is contained in:
parent
28bd72f099
commit
9e8d99eade
|
|
@ -0,0 +1,9 @@
|
||||||
|
# to remove you need to specify the version of libudev1 to downgrade
|
||||||
|
# apt-cache policy libudev1
|
||||||
|
# apt-get install udev libudev1=232-25+deb9u1
|
||||||
|
ln -s /etc/apt/sources.list-available/devuan-experimental.list /etc/apt/sources.list.d/devuan-experimental.list
|
||||||
|
apt-get update
|
||||||
|
apt-get -t experimental install eudev
|
||||||
|
|
||||||
|
rm /etc/apt/sources.list.d/devuan-experimental.list
|
||||||
|
apt-get update
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
# From version 0.128, the boot code waits for a suspend/resume device
|
||||||
|
# to appear, rather than checking just once. If the configured or
|
||||||
|
# automatically selected resume device is not available at boot time,
|
||||||
|
# this results in a roughly 30 second delay.
|
||||||
|
|
||||||
|
# I: The initramfs will attempt to resume from /dev/sda2
|
||||||
|
# I: (UUID=f4d19cc8-2c3e-4061-a618-7974cb88bfec)
|
||||||
|
|
||||||
|
|
||||||
|
# You should set the RESUME variable in
|
||||||
|
INITRAMFS_HOME=/etc/initramfs-tools/conf.d/
|
||||||
|
|
||||||
|
DEVICE=/dev/sda2
|
||||||
|
UUID=f4d19cc8-2c3e-4061-a618-7974cb88bfec
|
||||||
|
RESUME="RESUME=none"
|
||||||
|
RESUME="RESUME=UUID=${UUID}"
|
||||||
|
RESUME="RESUME=/dev/${DEVICE}"
|
||||||
|
RESUME="RESUME=auto"
|
||||||
|
|
||||||
|
|
||||||
|
echo "${RESUME}" > ${INITRAMFS_HOME}/resume
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
# cgroups uses sysvinit but from 0.2.5 can replace it. ascii version currently 0.2.3
|
||||||
|
apt-get install sysvinit-core
|
||||||
|
apt-get install util-linux sysvinit-utils
|
||||||
|
apt-get install initscripts openrc
|
||||||
|
|
||||||
|
# Reboot when done
|
||||||
|
for file in /etc/rc0.d/K*; do s=`basename $(readlink "$file")` ; /etc/init.d/$s stop; done
|
||||||
|
|
@ -1,8 +1,40 @@
|
||||||
# vm.swappiness (tendency to use swap,
|
# Considerations for zfs
|
||||||
# vm.vfs_cache_pressure (tendency to reclaim swap space back to memory
|
# http://warpmech.com/?news=zfs-tuning-arc
|
||||||
# vfs_cache_pressure value larger than 100 may negative performance impact: https://www.kernel.org/doc/Documentation/sysctl/vm.txt
|
# https://lonesysadmin.net/2013/12/22/better-linux-disk-caching-performance-vm-dirty_ratio/
|
||||||
|
# vm.overcommit_memory - with this set to “2”, the system should never promise more RAM+swap
|
||||||
|
# vm.swappiness - tendency to use swap,
|
||||||
|
# vm.vfs_cache_pressure - tendency to reclaim swap space back to memory
|
||||||
|
# vfs_cache_pressure - value larger than 100 may negative performance impact:
|
||||||
|
# https://www.kernel.org/doc/Documentation/sysctl/vm.txt
|
||||||
|
|
||||||
|
#sudo sysctl -a | grep dirty
|
||||||
|
# vm.dirty_background_bytes = 0
|
||||||
|
# vm.dirty_background_ratio = 10
|
||||||
|
# vm.dirty_bytes = 0
|
||||||
|
# vm.dirty_expire_centisecs = 3000
|
||||||
|
# vm.dirty_ratio = 20
|
||||||
|
# vm.dirty_writeback_centisecs = 500
|
||||||
|
# vm.dirtytime_expire_seconds = 43200
|
||||||
|
|
||||||
|
#sudo sysctl -a | grep ...
|
||||||
|
# vm.swappiness = 60
|
||||||
|
# vm.vfs_cache_pressure = 100
|
||||||
|
# vm.max_map_count = 65530
|
||||||
|
|
||||||
|
#sudo sysctl -a | grep overcommit
|
||||||
|
# vm.overcommit_kbytes = 0
|
||||||
|
# vm.overcommit_memory = 0
|
||||||
|
# vm.overcommit_ratio = 50
|
||||||
|
|
||||||
cat > /etc/sysctl.d/01-local.conf << 'EOF'
|
cat > /etc/sysctl.d/01-local.conf << 'EOF'
|
||||||
vm.max_map_count=262144
|
vm.max_map_count=262144
|
||||||
vm.swappiness=1
|
vm.swappiness=1
|
||||||
vm.vfs_cache_pressure=50
|
vm.vfs_cache_pressure=50
|
||||||
|
|
||||||
|
vm.dirty_background_ratio=5
|
||||||
|
vm.dirty_expire_centisecs=2000
|
||||||
|
vm.dirty_ratio=15
|
||||||
|
|
||||||
|
vm.overcommit_memory=2
|
||||||
|
vm.overcommit_ratio=25
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
# safest to always shift to udev before installing other things.
|
||||||
|
# You can swap between udev and vdev
|
||||||
|
## /usr/share/vdev/vdev-install.sh udev | vdev
|
||||||
|
|
||||||
|
# The components are:
|
||||||
|
# libudev1-compat, which is the library ABI-compatible with libudev 219.
|
||||||
|
# vdevd, which is the hotplug daemon, including helpers, actions and configuration;
|
||||||
|
# vdev-initramfs, which provides an initramfs-tools intergration.
|
||||||
|
# This package includes a script (/usr/share/vdev/vdev-install.sh) for
|
||||||
|
# making a manual choice between using vdev or udev as /dev manager.
|
||||||
|
# You can swap between udev and vdev
|
||||||
|
## /usr/share/vdev/vdev-install.sh udev | vdev
|
||||||
|
|
||||||
|
ln -s /etc/apt/sources.list-available/devuan-experimental.list /etc/apt/sources.list.d/devuan-experimental.list
|
||||||
|
apt-get update
|
||||||
|
apt-get -t experimental install libudev1-compat vdevd vdev-initramfs
|
||||||
|
|
||||||
|
rm /etc/apt/sources.list.d/devuan-experimental.list
|
||||||
|
apt-get update
|
||||||
|
|
@ -0,0 +1,71 @@
|
||||||
|
# Merges upstream debian repos with devuan. Amprolla3 should include filters to spot systemd deps
|
||||||
|
# Since other upstream repos can be included we should be able to use amprolla to report on other
|
||||||
|
# systemd distro repos when wishing to import to devuan. Other packages such as pulseaudio could
|
||||||
|
# also be included in the filters (config.py:banpkgs = {'systemd', 'systemd-sysv', 'pulseaudio'})
|
||||||
|
|
||||||
|
# Edit /usr/src/amprolla/lib/config.py before running amprolla_init.py
|
||||||
|
|
||||||
|
|
||||||
|
# other distros:
|
||||||
|
# ubuntu / ppa
|
||||||
|
# http://kxstudio.linuxaudio.org/Repositories
|
||||||
|
## http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu lucid main
|
||||||
|
## http://ppa.launchpad.net/kxstudio-debian/music/ubuntu lucid main
|
||||||
|
## http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu lucid main
|
||||||
|
## http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu lucid main
|
||||||
|
## http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu lucid main
|
||||||
|
## http://kxstudio.linuxaudio.org/repo/ stable free
|
||||||
|
## http://kxstudio.linuxaudio.org/repo/ stable non-free
|
||||||
|
|
||||||
|
|
||||||
|
# config.py:
|
||||||
|
#repos = {
|
||||||
|
# 'kxstudio': {
|
||||||
|
# 'name': 'KXSTUDIO',
|
||||||
|
# 'host': 'http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu',
|
||||||
|
# 'dists': 'dists',
|
||||||
|
# 'pool': 'pool',
|
||||||
|
# 'aliases': False,
|
||||||
|
# 'skipmissing': False,
|
||||||
|
# },
|
||||||
|
# 'kxstudio-apps': {
|
||||||
|
# 'name': 'KXSTUDIO-APPS',
|
||||||
|
# 'host': 'http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu',
|
||||||
|
# 'dists': 'dists',
|
||||||
|
# 'pool': 'pool',
|
||||||
|
# 'aliases': False,
|
||||||
|
# 'skipmissing': False,
|
||||||
|
# },
|
||||||
|
# 'kxstudio-plugins': {
|
||||||
|
# 'name': 'KXSTUDIO-PLUGINS',
|
||||||
|
# 'host': 'http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu',
|
||||||
|
# 'dists': 'dists',
|
||||||
|
# 'pool': 'pool',
|
||||||
|
# 'aliases': False,
|
||||||
|
# 'skipmissing': False,
|
||||||
|
# },
|
||||||
|
# 'kxstudio-music': {
|
||||||
|
# 'name': 'KXSTUDIO-PLUGINS',
|
||||||
|
# 'host': 'http://ppa.launchpad.net/kxstudio-debian/music/ubuntu',
|
||||||
|
# 'dists': 'dists',
|
||||||
|
# 'pool': 'pool',
|
||||||
|
# 'aliases': False,
|
||||||
|
# 'skipmissing': False,
|
||||||
|
# },
|
||||||
|
# 'kxstudio-libs': {
|
||||||
|
# 'name': 'KXSTUDIO-LIBS',
|
||||||
|
# 'host': 'http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu',
|
||||||
|
# 'dists': 'dists',
|
||||||
|
# 'pool': 'pool',
|
||||||
|
# 'aliases': False,
|
||||||
|
# 'skipmissing': False,
|
||||||
|
# },
|
||||||
|
#}
|
||||||
|
|
||||||
|
apt-get install gnupg2 python3-requests rsync
|
||||||
|
|
||||||
|
cd /usr/src/
|
||||||
|
git clone https://github.com/parazyd/amprolla
|
||||||
|
|
||||||
|
cd /usr/src/amprolla
|
||||||
|
cp lib/config.def.py lib/config.py
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
# To enable audit/rules.d
|
||||||
|
|
||||||
|
sed -i 's,^\(USE_AUGENRULES=\).*,\1'\"yes\"',' /etc/default/auditd
|
||||||
|
|
||||||
|
|
@ -53,12 +53,13 @@ update-alternatives --install /usr/bin/google-chrome google-chrome \
|
||||||
# user disabled it.
|
# user disabled it.
|
||||||
rm -rf /etc/apt/sources.list.d/google-chrome.list
|
rm -rf /etc/apt/sources.list.d/google-chrome.list
|
||||||
|
|
||||||
cat > /etc/apt/sources.list.d-available/google-chrome-stable.list << EOF
|
mkdir -p /etc/apt/sources.list-available
|
||||||
|
cat > /etc/apt/sources.list-available/google-chrome-stable.list << EOF
|
||||||
# wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
# wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
||||||
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
|
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
ln -sf /etc/apt/sources.list.d-available/google-chrome-stable.list /etc/apt/sources.list.d/google-chrome-stable.list
|
ln -sf /etc/apt/sources.list-available/google-chrome-stable.list /etc/apt/sources.list.d/google-chrome-stable.list
|
||||||
|
|
||||||
|
|
||||||
#----
|
#----
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ apt-get install djmount
|
||||||
DJMOUNT_DIR=~/dlna
|
DJMOUNT_DIR=~/dlna
|
||||||
mkdir -p ${DJMOUNT_DIR}
|
mkdir -p ${DJMOUNT_DIR}
|
||||||
|
|
||||||
|
mkdir -p ~/.config/autostart
|
||||||
bash -c "cat > ~/.config/autostart/djmount.desktop" <<EOF
|
bash -c "cat > ~/.config/autostart/djmount.desktop" <<EOF
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
sudo apt-get install linux-firmware
|
||||||
|
sudo apt-get install firmware-linux
|
||||||
|
sudo apt-get install firmware-linux-free
|
||||||
|
sudo apt-get install firmware-linux-nonfree
|
||||||
|
sudo apt-get install firmware-misc-nonfree
|
||||||
|
|
@ -276,6 +276,7 @@ S=chat.freenode.net/+6697
|
||||||
S=chat.freenode.net
|
S=chat.freenode.net
|
||||||
S=irc.freenode.net
|
S=irc.freenode.net
|
||||||
J=#devuan
|
J=#devuan
|
||||||
|
J=#devuan-dev
|
||||||
J=#debianfork
|
J=#debianfork
|
||||||
|
|
||||||
N=Furnet
|
N=Furnet
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
wget -qO - https://downloads.iridiumbrowser.de/ubuntu/iridium-release-sign-01.pub|sudo apt-key add -
|
||||||
|
|
||||||
|
cat <<EOF | sudo tee /etc/apt/sources.list-available/iridium-browser.list
|
||||||
|
# wget -qO - https://downloads.iridiumbrowser.de/ubuntu/iridium-release-sign-01.pub|sudo apt-key add -
|
||||||
|
deb [arch=amd64] https://downloads.iridiumbrowser.de/deb/ stable main
|
||||||
|
#deb-src https://downloads.iridiumbrowser.de/deb/ stable main
|
||||||
|
EOF
|
||||||
|
|
||||||
|
ln -sf /etc/apt/sources.list-available/iridium-browser.list /etc/apt/sources.list.d/iridium-browser.list
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
# Tne aufoFill highlights its conpletions and so overwrites the primary buffer, I wish windows like behavior used only the buffer usedforctrl x ctrl v
|
# Tne aufoFill highlights its conpletions and so overwrites the primary buffer, I wish windows like behavior used only the buffer usedforctrl x ctrl v
|
||||||
|
|
||||||
PALEMOON_VERSION=27.1.1
|
PALEMOON_VERSION=27.5.0
|
||||||
PALEMOON_HOME=/opt
|
PALEMOON_HOME=/opt
|
||||||
wget -c --directory-prefix /var/tmp http://linux.palemoon.org/files/${PALEMOON_VERSION}/palemoon-${PALEMOON_VERSION}.en-US.linux-x86_64.tar.bz2
|
wget -c --directory-prefix /var/tmp http://linux.palemoon.org/files/${PALEMOON_VERSION}/palemoon-${PALEMOON_VERSION}.en-US.linux-x86_64.tar.bz2
|
||||||
sudo tar -xjvf /var/tmp/palemoon-${PALEMOON_VERSION}.en-US.linux-x86_64.tar.bz2 -C ${PALEMOON_HOME}
|
sudo tar -xjvf /var/tmp/palemoon-${PALEMOON_VERSION}.en-US.linux-x86_64.tar.bz2 -C ${PALEMOON_HOME}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
set +x
|
||||||
# get and install refracta stuff
|
# get and install refracta stuff
|
||||||
# For jessie yad needs to be built from testing/ascii (and gtk3 dep changed in control)
|
# For jessie yad needs to be built from testing/ascii (and gtk3 dep changed in control)
|
||||||
apt-get -y install autotools-dev libgtk2.0-dev pkg-config intltool
|
apt-get -y install autotools-dev libgtk2.0-dev pkg-config intltool
|
||||||
|
|
@ -9,34 +10,33 @@ sed -i -e s/libgtk-3-dev/libgtk2.0-dev/g /usr/src/yad-${YAD_VERSION}/debian/cont
|
||||||
sed -i -e s/gtk3/gtk2/g /usr/src/yad-${YAD_VERSION}/debian/rules
|
sed -i -e s/gtk3/gtk2/g /usr/src/yad-${YAD_VERSION}/debian/rules
|
||||||
cd /usr/src/yad-${YAD_VERSION}
|
cd /usr/src/yad-${YAD_VERSION}
|
||||||
dpkg-buildpackage -us -uc -b
|
dpkg-buildpackage -us -uc -b
|
||||||
dpkg -i ../yad
|
dpkg -i ../yad_${YAD_VERSION}-1_amd64.deb
|
||||||
|
|
||||||
# Refractasnapshot 10 introduces support of UEFI bootable iso but grub-efi removes grub-pc
|
# Refractasnapshot 10 introduces support of UEFI bootable iso but grub-efi removes grub-pc
|
||||||
#apt-get install -y grub-efi-amd64
|
#apt-get install -y grub-efi-amd64
|
||||||
|
apt-get install -y hwinfo
|
||||||
|
|
||||||
REFRACTAINSTALLER_VERSION=9.1.9-1
|
REFRACTAINSTALLERBASE_VERSION=9.3.0
|
||||||
REFRACTAINSTALLER_GUI_VERSION=9.1.9
|
REFRACTAINSTALLER_GUI_VERSION=9.2.2
|
||||||
REFRACTASNAPSHOT_VERSION=10.0.0
|
REFRACTASNAPSHOTBASE_VERSION=10.0.2
|
||||||
REFRACTASNAPSHOT_GUI_VERSION=10.0.0
|
REFRACTASNAPSHOT_GUI_VERSION=10.0.2
|
||||||
REFRACTA2USB_VERSION=2.3.4
|
REFRACTA2USB_VERSION=2.3.6
|
||||||
|
#SOURCEFORGE_MIRROR=http://downloads.sourceforge.net/project/refracta
|
||||||
|
SOURCEFORGE_MIRROR=http://sourceforge.mirrorservice.org/r/re/refracta
|
||||||
REFRACTA_LOCATION=tools
|
REFRACTA_LOCATION=tools
|
||||||
#REFRACTA_LOCATION=testing
|
#REFRACTA_LOCATION=testing
|
||||||
URL_LIST=" \
|
URL_LIST=( \
|
||||||
http://downloads.sourceforge.net/project/refracta/${REFRACTA_LOCATION}/refractasnapshot-base_${REFRACTASNAPSHOT_VERSION}_all.deb \
|
${SOURCEFORGE_MIRROR}/${REFRACTA_LOCATION}/refractasnapshot-base_${REFRACTASNAPSHOTBASE_VERSION}_all.deb \
|
||||||
http://downloads.sourceforge.net/project/refracta/${REFRACTA_LOCATION}/refractasnapshot-gui${REFRACTASNAPSHOT_GUI_VERSION}_all.deb \
|
${SOURCEFORGE_MIRROR}/${REFRACTA_LOCATION}/refractasnapshot-gui_${REFRACTASNAPSHOT_GUI_VERSION}_all.deb \
|
||||||
http://downloads.sourceforge.net/project/refracta/${REFRACTA_LOCATION}/refractainstaller-base_${REFRACTA_VERSION}_all.deb \
|
${SOURCEFORGE_MIRROR}/${REFRACTA_LOCATION}/refractainstaller-base_${REFRACTAINSTALLERBASE_VERSION}_all.deb \
|
||||||
http://downloads.sourceforge.net/project/refracta/${REFRACTA_LOCATION}/refractainstaller-gui_${REFRACTA_GUI_VERSION}_all.deb
|
${SOURCEFORGE_MIRROR}/${REFRACTA_LOCATION}/refractainstaller-gui_${REFRACTAINSTALLER_GUI_VERSION}_all.deb \
|
||||||
"
|
${SOURCEFORGE_MIRROR}/${REFRACTA_LOCATION}/refracta2usb-${REFRACTA2USB_VERSION}.deb \
|
||||||
# http://downloads.sourceforge.net/project/refracta/${REFRACTA_LOCATION}/refracta2usb-${REFRACTA2USB_VERSION}.deb"
|
)
|
||||||
|
# ${SOURCEFORGE_MIRROR}/${REFRACTA_LOCATION}/refracta2usb-${REFRACTA2USB_VERSION}.deb"
|
||||||
#"
|
#"
|
||||||
|
|
||||||
for URL in "${URL_LIST}"; do echo "${URL}"; done
|
#for URL in ${URL_LIST[*]}; do printf " %s\n" ${URL}; done
|
||||||
|
#for URL in ${URL_LIST[*]}; do printf " %s\n" ${URL##*/}; done
|
||||||
for URL in ${URL_LIST}
|
for URL in ${URL_LIST[*]}; do printf ${URL}; wget -c ${URL} && dpkg -i ./${URL##*/}; done
|
||||||
do
|
|
||||||
FILE=`mktemp`;
|
|
||||||
wget "${URL}" -qO ${FILE} && sudo dpkg -i ${FILE};
|
|
||||||
rm ${FILE}
|
|
||||||
done
|
|
||||||
|
|
||||||
sudo apt-get -y -f install
|
sudo apt-get -y -f install
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
# Run 025_mimetypes.sh first
|
||||||
|
bash ./025_mimetypes.sh
|
||||||
|
|
||||||
|
# Copy from default user to /etc/skel
|
||||||
|
ROX_USER=default
|
||||||
|
mkdir -p /etc/skel/.config
|
||||||
|
cp -a /home/${ROX_USER}/.config/rox.sourceforge.net /etc/skel/.config/
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,23 +1,26 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set +x
|
||||||
|
|
||||||
apt-get install -y smartmontools gsmartcontrol
|
apt-get install -y smartmontools gsmartcontrol
|
||||||
|
|
||||||
sed -i '/^#start_smartd=.*/ s/.*/&\nstart_smartd=yes/' ./smartmontools
|
sed -i '/^#enable_smart=.*/ s/.*/&\nenable_smart=\"\"/' /etc/default/smartmontools
|
||||||
|
|
||||||
sed -i '/^#enable_smart=.*/ s/.*/&\nenable_smart=\"\"/' ./smartmontools
|
sed -i '/^#start_smartd=.*/ s/.*/&\nstart_smartd=yes/' /etc/default/smartmontools
|
||||||
|
|
||||||
sed -i '/^#smartd_opts=.*/ s/.*/&\nsmartd_opts=\"\"/' ./smartmontools
|
sed -i '/^#smartd_opts=.*/ s/.*/&\nsmartd_opts=\"\"/' /etc/default/smartmontools
|
||||||
|
|
||||||
# smartd must run with the --savestates option as the disks themselves usually do not keep track of the last region tested.
|
# smartd must run with the --savestates option as the disks themselves usually do not keep track of the last region tested.
|
||||||
for i in "--interval=1800" "--savestates=/var/lib/smartd/";
|
for i in "--interval=1800" "--savestates=/var/lib/smartd/";
|
||||||
do
|
do
|
||||||
echo ${i};
|
echo ${i};
|
||||||
sed -i "s|^smartd_opts=\"[ ]*\(.*\)\"|smartd_opts=\"\1 ${i}\"|" ./smartmontools
|
sed -i "s|^smartd_opts=\"[ ]*\(.*\)\"|smartd_opts=\"\1 ${i}\"|" /etc/default/smartmontools
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in $(smartctl --scan-open | awk {'print $2'});
|
for i in $(smartctl --scan-open | awk {'print $1'})
|
||||||
|
|
||||||
do
|
do
|
||||||
echo ${i};
|
echo ${i};
|
||||||
sed -i "s|^enable_smart=\"[ ]*\(.*\)\"|enable_smart=\"\1 ${i}\"|" ./smartmontools
|
sed -i "s|^enable_smart=\"[ ]*\(.*\)\"|enable_smart=\"\1 ${i}\"|" /etc/default/smartmontools
|
||||||
done
|
done
|
||||||
|
|
||||||
EMAIL=root
|
EMAIL=root
|
||||||
|
|
@ -35,4 +38,4 @@ done
|
||||||
|
|
||||||
# To run the next test spans on Monday-Friday between 12-13am, run smartd with this directive:
|
# To run the next test spans on Monday-Friday between 12-13am, run smartd with this directive:
|
||||||
RUNNER_OPT="n/../../[1-5]/12"
|
RUNNER_OPT="n/../../[1-5]/12"
|
||||||
sed -i "s|^DEVICESCAN[ ]*\(.*\)|DEVICESCAN -d removable -n standby -m ${EMAIL} -M exec /usr/share/smartmontools/smartd-runner -s ${RUNNER_OPT}|" ./smartd.conf
|
sed -i "s|^DEVICESCAN[ ]*\(.*\)|DEVICESCAN -d removable -n standby -m ${EMAIL} -M exec /usr/share/smartmontools/smartd-runner -s ${RUNNER_OPT}|" /etc/smartd.conf
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
# Given a choice of selecting settings to match pulseaudio if installedor alsa when not, they just install it broken and recommend pulseaudio, nice.
|
||||||
|
|
||||||
|
#apt-get install speech-dispatcher speech-dispatcher-espeak-ng python3-speechd espeek-ng espeak-ng-espeak
|
||||||
|
|
||||||
|
SPEECHD_CONF=/etc/speech-dispatcher/speechd.conf
|
||||||
|
|
||||||
|
# Uncommented settings
|
||||||
|
sed -i 's,^\(LogLevel \).*,\1'4',' ${SPEECHD_CONF}
|
||||||
|
sed -i 's,^\(LogDir \).*,\1'\"default\"',' ${SPEECHD_CONF}
|
||||||
|
sed -i 's,^\(DefaultVolume \).*,\1'100',' ${SPEECHD_CONF}
|
||||||
|
sed -i 's,^\(DefaultModule \).*,\1'festival',' ${SPEECHD_CONF}
|
||||||
|
sed -i 's,^\(Include \).*,\1'\"clients\/\*\.conf\"',' ${SPEECHD_CONF}
|
||||||
|
|
||||||
|
|
||||||
|
# Commented - no space
|
||||||
|
sed -i '/^#AddModule \"festival\".*/ s/.*/&\nAddModule \"festival\" \"sd_festival\" \"festival.conf\"/' ${SPEECHD_CONF}
|
||||||
|
|
||||||
|
sed -i '/^#LanguageDefaultModule \"en\".*/ s/.*/&\nLanguageDefaultModule \"en\" \"festival\"/' ${SPEECHD_CONF}
|
||||||
|
|
||||||
|
sed -i '/^#AudioALSADevice \"default\".*/ s/.*/&\nAudioALSADevice \"default\"/' ${SPEECHD_CONF}
|
||||||
|
|
||||||
|
# Commented - single space
|
||||||
|
sed -i '/^# AudioOutputMethod \"pulse\".*/ s/.*/&\nAudioOutputMethod \"alsa\"/' ${SPEECHD_CONF}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -14,8 +14,6 @@ cooldown=600
|
||||||
sed -i "s#^user_pref(\"$i\",.*);#user_pref(\"browser.startup.page\", $value);#" /etc/swapspace.conf
|
sed -i "s#^user_pref(\"$i\",.*);#user_pref(\"browser.startup.page\", $value);#" /etc/swapspace.conf
|
||||||
sed -i "s|^#swappath=(\"$i\",.*);|user_pref(\"browser.startup.page\", $value);|" /etc/swapspace.conf
|
sed -i "s|^#swappath=(\"$i\",.*);|user_pref(\"browser.startup.page\", $value);|" /etc/swapspace.conf
|
||||||
|
|
||||||
sed -i 's,^\(lat=\).*,\1'52.258744',' ~/.config/redshift.conf
|
|
||||||
sed -i 's,^\(lat=\).*,\1'52.258744',' ~/.config/redshift.conf
|
|
||||||
|
|
||||||
|
|
||||||
sed -i '/^#swappath=.*/ s/.*/&\nswappath=\"$swappath\"/' /etc/swapspace.conf
|
sed -i '/^#swappath=.*/ s/.*/&\nswappath=\"$swappath\"/' /etc/swapspace.conf
|
||||||
|
|
|
||||||
20
020_tmux.sh
20
020_tmux.sh
|
|
@ -168,3 +168,23 @@ set -g pane-active-border-fg colour069 # 24 blue
|
||||||
# set -g pane-border-bg black
|
# set -g pane-border-bg black
|
||||||
# set -g pane-active-border-bg black
|
# set -g pane-active-border-bg black
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
echo "source /usr/share/zsh/vendor_completions/_tmuxinator" > ~/.zshrc.d/006_tmuxinator.zsh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
cat > ~/.config/tmux/tmux.conf << 'EOF'
|
||||||
|
|
||||||
|
# List of plugins
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
|
||||||
|
# Other examples:
|
||||||
|
# set -g @plugin 'github_username/plugin_name'
|
||||||
|
# set -g @plugin 'git@github.com/user/plugin'
|
||||||
|
# set -g @plugin 'git@bitbucket.com/user/plugin'
|
||||||
|
|
||||||
|
|
||||||
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
|
run '/usr/share/tmux-plugin-manager/tpm'
|
||||||
|
EOF
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Run 020_vim.sh to populate the dotfiles
|
||||||
|
VIM_USER=default
|
||||||
|
|
||||||
|
cp -a /home/${VIM_USER}/.vimrc /etc/skel
|
||||||
|
cp -a /home/${VIM_USER}/.vim /etc/skel
|
||||||
|
cp -a /home/${VIM_USER}/.Xresources /etc/skel
|
||||||
30
020_vim.sh
30
020_vim.sh
|
|
@ -1,9 +1,17 @@
|
||||||
set -x
|
set +x
|
||||||
#sudo apt-get install vim-gtk
|
#sudo apt-get install vim-gtk
|
||||||
|
|
||||||
sudo sed -i -e 's/"syntax on/syntax on/' /etc/vim/vimrc
|
sudo sed -i -e 's/"syntax on/syntax on/' /etc/vim/vimrc
|
||||||
sudo sed -i -e 's/"set background=dark/set background=dark/' /etc/vim/vimrc
|
sudo sed -i -e 's/"set background=dark/set background=dark/' /etc/vim/vimrc
|
||||||
|
|
||||||
|
# Macros
|
||||||
|
# Format json
|
||||||
|
cat > ~/.vimrc << 'EOF'
|
||||||
|
|
||||||
|
" Format json
|
||||||
|
nmap =j :%!python -m json.tool<CR>
|
||||||
|
EOF
|
||||||
|
|
||||||
# vimrc additions
|
# vimrc additions
|
||||||
cat > ~/.vimrc << 'EOF'
|
cat > ~/.vimrc << 'EOF'
|
||||||
|
|
||||||
|
|
@ -91,6 +99,7 @@ cat > ~/.Xresources << 'EOF'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
|
apt-get install -y git
|
||||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||||
|
|
||||||
# Prepend to the .vimrc
|
# Prepend to the .vimrc
|
||||||
|
|
@ -218,8 +227,8 @@ let NERDTreeIgnore=['\.pyc$', '\~$']
|
||||||
|
|
||||||
" YouCompleteMe customizations
|
" YouCompleteMe customizations
|
||||||
" close autocomplete window
|
" close autocomplete window
|
||||||
let g:ycm_autoclose_preview_window_after_completion=1
|
"let g:ycm_autoclose_preview_window_after_completion=1
|
||||||
map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>
|
"map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>
|
||||||
|
|
||||||
|
|
||||||
" Python docstrings for folded code.
|
" Python docstrings for folded code.
|
||||||
|
|
@ -232,16 +241,19 @@ au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/lib
|
||||||
EOF
|
EOF
|
||||||
cat ~/.vimrc_pending
|
cat ~/.vimrc_pending
|
||||||
|
|
||||||
|
# append the existing vimrc to the plugin additions
|
||||||
cat ~/.vimrc >> ~/.vimrc_pending
|
cat ~/.vimrc >> ~/.vimrc_pending
|
||||||
|
|
||||||
|
# copy it back to the vimrc
|
||||||
cp ~/.vimrc_pending ~/.vimrc
|
cp ~/.vimrc_pending ~/.vimrc
|
||||||
#mv ~/.vimrc_pending ~/.vimrc
|
#mv ~/.vimrc_pending ~/.vimrc
|
||||||
|
|
||||||
cat ~/.vimrc
|
cat ~/.vimrc
|
||||||
#vim +PluginInstall +qall
|
vim +PluginInstall +qall
|
||||||
|
|
||||||
# Install YouCompleteMe support
|
# Install YouCompleteMe support
|
||||||
apt-get install build-essential cmake exuberant-ctags
|
apt-get install -y build-essential cmake exuberant-ctags
|
||||||
apt-get install python-dev python3-dev
|
apt-get install -y python-dev python3-dev
|
||||||
|
|
||||||
# semantic support for C-family
|
# semantic support for C-family
|
||||||
#cd ~/.vim/bundle/YouCompleteMe/ && ./install.py --clang-completer
|
#cd ~/.vim/bundle/YouCompleteMe/ && ./install.py --clang-completer
|
||||||
|
|
@ -257,6 +269,6 @@ apt-get install python-dev python3-dev
|
||||||
#./build.py --all
|
#./build.py --all
|
||||||
|
|
||||||
# jedi-vim (since youcompleteme seems to just crash)
|
# jedi-vim (since youcompleteme seems to just crash)
|
||||||
apt-get install python-pip
|
#apt-get install -y python-pip
|
||||||
pip install jedi
|
#pip install jedi
|
||||||
|
apt-get install -y vim-python-jedi
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Run 020_zsh.sh to populate the files needed for /etc/skel
|
||||||
|
# assuming default user
|
||||||
|
ZSH_USER=default
|
||||||
|
|
||||||
|
sed -i 's,^\(DSHELL=\).*,\1'/bin/zsh',' /etc/adduser.conf
|
||||||
|
#sed -i 's,^\(SHELL=\).*,\1'/bin/zsh',' /etc/default/useradd
|
||||||
|
|
||||||
|
# Copy zsh files from clean install to /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/zgen /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/zsh-quickstart-kit /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/.zshrc /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/.zshrc.d /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/.zsh_functions /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/.zsh_aliases /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/.zsh_aliases.d /etc/skel
|
||||||
|
#cp -a /home/${ZSH_USER}/.zsh-completitions /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/.zgen /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/.zgen-setup /etc/skel
|
||||||
|
cp -a /home/${ZSH_USER}/.zgen-local-plugins /etc/skel
|
||||||
16
020_zsh.sh
16
020_zsh.sh
|
|
@ -9,7 +9,7 @@ sudo mkdir -p /usr/local/share/zsh/site-functions
|
||||||
sudo chmod g-w /usr/local/share/zsh/site-functions
|
sudo chmod g-w /usr/local/share/zsh/site-functions
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
chsh -s $(which zsh)
|
sudo chsh -s $(which zsh) ${USER}
|
||||||
|
|
||||||
sudo apt-get install -y git
|
sudo apt-get install -y git
|
||||||
# Install zgen plugin manager and zsh quicktart to get a default setup for zsh
|
# Install zgen plugin manager and zsh quicktart to get a default setup for zsh
|
||||||
|
|
@ -132,8 +132,9 @@ cat > ~/.zgen-local-plugins << 'EOF'
|
||||||
|
|
||||||
# Docker completion
|
# Docker completion
|
||||||
# zgen load srijanshetty/docker-zsh
|
# zgen load srijanshetty/docker-zsh
|
||||||
zgen load robbyrussell/oh-my-zsh plugins/docker
|
zgen load akarzim/zsh-docker-aliases
|
||||||
zgen load robbyrussell/oh-my-zsh plugins/docker-compose
|
#zgen load robbyrussell/oh-my-zsh plugins/docker
|
||||||
|
#zgen load robbyrussell/oh-my-zsh plugins/docker-compose
|
||||||
|
|
||||||
# Load me last
|
# Load me last
|
||||||
GENCOMPL_FPATH=$HOME/.zsh/complete
|
GENCOMPL_FPATH=$HOME/.zsh/complete
|
||||||
|
|
@ -179,7 +180,9 @@ cat > ~/.zgen-local-plugins << 'EOF'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# example .d file use unset to prevent update
|
# example .d file use unset to prevent update
|
||||||
echo 'QUICKSTART_KIT_REFRESH_IN_DAYS=7' > ~/.zshrc.d/001-qs_refresh.zsh
|
echo '# Use unset 'QUICKSTART_KIT_REFRESH_IN_DAYS' to disable.' > ~/.zshrc.d/001-quickstart_refresh.zsh
|
||||||
|
echo 'QUICKSTART_KIT_REFRESH_IN_DAYS=30' >> ~/.zshrc.d/001-quickstart_refresh.zsh
|
||||||
|
echo 'ZGEN_PLUGIN_UPDATE_DAYS=30' > ~/.zshrc.d/001-zgen_refresh.zsh
|
||||||
|
|
||||||
sudo apt-get install -y fonts-powerline powerline
|
sudo apt-get install -y fonts-powerline powerline
|
||||||
# sed -i 's,^\(export LOCATE_PATH=\).*,\1'/var/lib/mlocate/mlocate.db',' ~/.zshrc
|
# sed -i 's,^\(export LOCATE_PATH=\).*,\1'/var/lib/mlocate/mlocate.db',' ~/.zshrc
|
||||||
|
|
@ -217,6 +220,11 @@ EOF
|
||||||
|
|
||||||
# alias python version
|
# alias python version
|
||||||
mkdir -p ~/.zsh_aliases.d
|
mkdir -p ~/.zsh_aliases.d
|
||||||
|
|
||||||
|
# tell bash to check the next word after the alias (i.e sudo) by adding a space to the end of the alias value.
|
||||||
|
echo "# tell bash to check the next word after the alias (i.e sudo) by adding a space to the end of the alias value." > ~/.zsh_aliases.d/002_sudo.zsh
|
||||||
|
echo 'alias sudo="sudo "' >> ~/.zsh_aliases.d/002_sudo.zsh
|
||||||
|
|
||||||
cat > ~/.zsh_aliases.d/003-py_aliases.zsh << 'EOF'
|
cat > ~/.zsh_aliases.d/003-py_aliases.zsh << 'EOF'
|
||||||
_py_version() {
|
_py_version() {
|
||||||
PY_VERSIONS=(2 3)
|
PY_VERSIONS=(2 3)
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ sudo bash -c "cat > /etc/iceweasel/profile/xulstore.json" <<'EOF'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# FIXME
|
# FIXME
|
||||||
# Change firfox/iceweasel preferences in /home and /etc prefs.js
|
# Change firefox/iceweasel preferences in /home and /etc prefs.js
|
||||||
## firefox pref value - sets the value of the given user_pref to value variable
|
## firefox pref value - sets the value of the given user_pref to value variable
|
||||||
#value=2
|
#value=2
|
||||||
#sudo for i in "browser.startup.page"
|
#sudo for i in "browser.startup.page"
|
||||||
|
|
@ -296,3 +296,40 @@ done
|
||||||
|
|
||||||
# FIXME installing extensions from the commandline - http://askubuntu.com/questions/73474/how-to-install-firefox-addon-from-command-line-in-scripts
|
# FIXME installing extensions from the commandline - http://askubuntu.com/questions/73474/how-to-install-firefox-addon-from-command-line-in-scripts
|
||||||
|
|
||||||
|
# xulstore.json has layout settings. But exists in a autogenerated profile at first run.
|
||||||
|
# FIXME xulstore.json location needs fixing.
|
||||||
|
# toolbar-menubar
|
||||||
|
# PersonalToolbar
|
||||||
|
sudo bash -c "cat > xulstore.json" <<'EOF'
|
||||||
|
{
|
||||||
|
"chrome://browser/content/browser.xul": {
|
||||||
|
"PersonalToolbar": {
|
||||||
|
"collapsed": "false"
|
||||||
|
},
|
||||||
|
"main-window": {
|
||||||
|
"height": "1040",
|
||||||
|
"screenX": "640",
|
||||||
|
"screenY": "92",
|
||||||
|
"sizemode": "normal",
|
||||||
|
"width": "1280"
|
||||||
|
},
|
||||||
|
"navigator-toolbox": {
|
||||||
|
"iconsize": "small"
|
||||||
|
},
|
||||||
|
"sidebar-title": {
|
||||||
|
"value": ""
|
||||||
|
},
|
||||||
|
"toolbar-menubar": {
|
||||||
|
"autohide": "false"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
OPT[0]='.["toolbar-menubar"] = {"autohide" : "false"}'
|
||||||
|
OPT[1]='.["PersonalToolbar"] = {"collapsed" : "false"}'
|
||||||
|
for ((i = 0; i < ${#OPT[@]}; ++i)); do
|
||||||
|
OPTION="${OPT[$i]}"
|
||||||
|
jq "${OPTION}" xulstore.json > xulstore.json.new && \
|
||||||
|
mv -b xulstore.json.new xulstore.json
|
||||||
|
done
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
sudo rm -rf /usr/share/applications/fossamail.desktop
|
||||||
|
sudo rm -rf /opt/FossaMail*
|
||||||
|
|
@ -0,0 +1,87 @@
|
||||||
|
#/usr/share/polkit-1/
|
||||||
|
#
|
||||||
|
#actions
|
||||||
|
#
|
||||||
|
#<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
#<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
|
||||||
|
#"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
|
||||||
|
#
|
||||||
|
#<policyconfig>
|
||||||
|
#
|
||||||
|
# <action id="org.freedesktop.consolekit.system.stop-multiple-users">
|
||||||
|
# <description>Stop the system when multiple users are logged in</description>
|
||||||
|
# <message>System policy prevents stopping the system when other users are logged in</message>
|
||||||
|
# <defaults>
|
||||||
|
# <allow_inactive>no</allow_inactive>
|
||||||
|
# <allow_active>auth_admin_keep</allow_active>
|
||||||
|
# </defaults>
|
||||||
|
# </action>
|
||||||
|
#
|
||||||
|
# <action id="org.freedesktop.consolekit.system.restart-multiple-users">
|
||||||
|
# <description>Restart the system when multiple users are logged in</description>
|
||||||
|
# <message>System policy prevents restarting the system when other users are logged in</message>
|
||||||
|
# <defaults>
|
||||||
|
# <allow_inactive>no</allow_inactive>
|
||||||
|
# <allow_active>auth_admin_keep</allow_active>
|
||||||
|
# </defaults>
|
||||||
|
# </action>
|
||||||
|
#
|
||||||
|
#</policyconfig>
|
||||||
|
#
|
||||||
|
# to:
|
||||||
|
#
|
||||||
|
#<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
#<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
|
||||||
|
#"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
|
||||||
|
#
|
||||||
|
#<policyconfig>
|
||||||
|
#
|
||||||
|
# <action id="org.freedesktop.consolekit.system.stop-multiple-users">
|
||||||
|
# <description>Stop the system when multiple users are logged in</description>
|
||||||
|
# <message>System policy prevents stopping the system when other users are logged in</message>
|
||||||
|
# <defaults>
|
||||||
|
# <allow_inactive>no</allow_inactive>
|
||||||
|
# <allow_active>yes</allow_active>
|
||||||
|
# </defaults>
|
||||||
|
# </action>
|
||||||
|
#
|
||||||
|
# <action id="org.freedesktop.consolekit.system.restart-multiple-users">
|
||||||
|
# <description>Restart the system when multiple users are logged in</description>
|
||||||
|
# <message>System policy prevents restarting the system when other users are logged in</message>
|
||||||
|
# <defaults>
|
||||||
|
# <allow_inactive>no</allow_inactive>
|
||||||
|
# <allow_active>yes</allow_active>
|
||||||
|
# </defaults>
|
||||||
|
# </action>
|
||||||
|
#
|
||||||
|
#</policyconfig>
|
||||||
|
|
||||||
|
|
||||||
|
apt-get install xmlstarlet
|
||||||
|
POLKIT_HOME=/usr/share/polkit-1
|
||||||
|
|
||||||
|
# org.freedesktop.consolekit.system.stop yes
|
||||||
|
# org.freedesktop.consolekit.system.stop-multiple-users auth_admin_keep
|
||||||
|
# org.freedesktop.consolekit.system.restart yes
|
||||||
|
# org.freedesktop.consolekit.system.restart-multiple-users auth_admin_keep
|
||||||
|
|
||||||
|
# Default
|
||||||
|
SYSTEM_STOP='yes'
|
||||||
|
SYSTEM_STOP_MULTI='auth_admin_keep'
|
||||||
|
SYSTEM_RESTART='yes'
|
||||||
|
SYSTEM_RESTART_MULTI='auth_admin_keep'
|
||||||
|
|
||||||
|
# Single
|
||||||
|
SYSTEM_STOP='yes'
|
||||||
|
SYSTEM_STOP_MULTI='yes'
|
||||||
|
SYSTEM_RESTART='yes'
|
||||||
|
SYSTEM_RESTART_MULTI='yes'
|
||||||
|
|
||||||
|
xmlstarlet edit -L -u "/policyconfig/action[@id='org.freedesktop.consolekit.system.stop']"/defaults/allow_active -v ${SYSTEM_STOP} ${POLKIT_HOME}/actions/org.freedesktop.consolekit.policy
|
||||||
|
|
||||||
|
xmlstarlet edit -L -u "/policyconfig/action[@id='org.freedesktop.consolekit.system.stop-multiple-users']"/defaults/allow_active -v ${SYSTEM_STOP_MULTI} ${POLKIT_HOME}/actions/org.freedesktop.consolekit.policy
|
||||||
|
|
||||||
|
xmlstarlet edit -L -u "/policyconfig/action[@id='org.freedesktop.consolekit.system.restart']/defaults/allow_active -v ${SYSTEM_RESTART} ${POLKIT_HOME}/actions/org.freedesktop.consolekit.policy
|
||||||
|
|
||||||
|
xmlstarlet edit -L -u "/policyconfig/action[@id='org.freedesktop.consolekit.system.restart-multiple-users']"/defaults/allow_active -v ${SYSTEM_RESTART_MULTI} ${POLKIT_HOME}/actions/org.freedesktop.consolekit.policy
|
||||||
|
|
||||||
|
|
@ -5,8 +5,9 @@ sudo apt-get -y remove --purge libnm-gtk
|
||||||
|
|
||||||
sudo rm /home/user/.config/autostart/nm-applet.destop
|
sudo rm /home/user/.config/autostart/nm-applet.destop
|
||||||
|
|
||||||
|
# At some point we will move from ifconfig and iwconfig to ip and iw but wicd seems to only be partially their so:
|
||||||
sudo apt-get -y --force=yes install wicd wicd-gtk wicd-curses
|
sudo apt-get -y install iw net-tools iproute2
|
||||||
|
sudo apt-get -y install wicd wicd-gtk wicd-curses
|
||||||
|
|
||||||
# Stop the gtk wicd client, it doesn't like files being changes under it. Even if you delette the file, when it exits it writes out its settings.
|
# Stop the gtk wicd client, it doesn't like files being changes under it. Even if you delette the file, when it exits it writes out its settings.
|
||||||
PID=`ps aux | grep python | grep wicd-client| awk {'print $2'}`
|
PID=`ps aux | grep python | grep wicd-client| awk {'print $2'}`
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
RELEASE=unstable
|
||||||
|
KEYRING=/usr/share/keyrings/devuan-archive-keyring.gpg
|
||||||
|
INCLUDE="eatmydata,ccache,gnupg"
|
||||||
|
MIRROR=http://auto.mirror.devuan.org/merged
|
||||||
|
|
||||||
|
sudo sbuild-createchroot --keyring=${KEYRING} --include=${INCLUDE} ${RELEASE} /srv/chroot/${RELEASE}-amd64-sbuild ${MIRROR}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
dpkg -l | awk '$1=="ii" {print $2}' | xargs -rn1 -I+ sh -c "dpkg -L + | grep --label=+ -Hw systemd" > systemd-references.txt
|
||||||
|
|
@ -0,0 +1,276 @@
|
||||||
|
acpid:/lib/systemd
|
||||||
|
acpid:/lib/systemd/system
|
||||||
|
acpid:/lib/systemd/system/acpid.path
|
||||||
|
acpid:/lib/systemd/system/acpid.service
|
||||||
|
acpid:/lib/systemd/system/acpid.socket
|
||||||
|
alsa-utils:/lib/systemd
|
||||||
|
alsa-utils:/lib/systemd/system
|
||||||
|
alsa-utils:/lib/systemd/system/alsa-restore.service
|
||||||
|
alsa-utils:/lib/systemd/system/alsa-state.service
|
||||||
|
alsa-utils:/lib/systemd/system/basic.target.wants
|
||||||
|
alsa-utils:/lib/systemd/system/alsa-utils.service
|
||||||
|
alsa-utils:/lib/systemd/system/basic.target.wants/alsa-restore.service
|
||||||
|
alsa-utils:/lib/systemd/system/basic.target.wants/alsa-state.service
|
||||||
|
anacron:/lib/systemd
|
||||||
|
anacron:/lib/systemd/system
|
||||||
|
anacron:/lib/systemd/system/anacron.service
|
||||||
|
anacron:/lib/systemd/system/anacron.timer
|
||||||
|
apt:/lib/systemd
|
||||||
|
apt:/lib/systemd/system
|
||||||
|
apt:/lib/systemd/system/apt-daily-upgrade.service
|
||||||
|
apt:/lib/systemd/system/apt-daily-upgrade.timer
|
||||||
|
apt:/lib/systemd/system/apt-daily.service
|
||||||
|
apt:/lib/systemd/system/apt-daily.timer
|
||||||
|
apt:/usr/lib/apt/apt.systemd.daily
|
||||||
|
at:/lib/systemd
|
||||||
|
at:/lib/systemd/system
|
||||||
|
at:/lib/systemd/system/atd.service
|
||||||
|
at-spi2-core:/usr/lib/systemd
|
||||||
|
at-spi2-core:/usr/lib/systemd/user
|
||||||
|
at-spi2-core:/usr/lib/systemd/user/at-spi-dbus-bus.service
|
||||||
|
auditd:/lib/systemd
|
||||||
|
auditd:/lib/systemd/system
|
||||||
|
auditd:/lib/systemd/system/auditd.service
|
||||||
|
bluez:/lib/systemd
|
||||||
|
bluez:/lib/systemd/system
|
||||||
|
bluez:/lib/systemd/system/bluetooth.service
|
||||||
|
bootchart2:/lib/systemd
|
||||||
|
bootchart2:/lib/systemd/system
|
||||||
|
bootchart2:/lib/systemd/system/bootchart-done.service
|
||||||
|
bootchart2:/lib/systemd/system/bootchart-done.timer
|
||||||
|
bootchart2:/lib/systemd/system/bootchart.service
|
||||||
|
cgroupfs-mount:/lib/systemd
|
||||||
|
cgroupfs-mount:/lib/systemd/system
|
||||||
|
cgroupfs-mount:/lib/systemd/system/cgroupfs-mount.service
|
||||||
|
console-setup-linux:/lib/systemd
|
||||||
|
console-setup-linux:/lib/systemd/system
|
||||||
|
console-setup-linux:/lib/systemd/system/console-setup.service
|
||||||
|
console-setup-linux:/lib/systemd/system/keyboard-setup.service
|
||||||
|
consolekit:/lib/systemd
|
||||||
|
consolekit:/lib/systemd/system
|
||||||
|
consolekit:/lib/systemd/system/basic.target.wants
|
||||||
|
consolekit:/lib/systemd/system/console-kit-daemon.service
|
||||||
|
consolekit:/lib/systemd/system/console-kit-log-system-restart.service
|
||||||
|
consolekit:/lib/systemd/system/console-kit-log-system-start.service
|
||||||
|
consolekit:/lib/systemd/system/console-kit-log-system-stop.service
|
||||||
|
consolekit:/lib/systemd/system/halt.target.wants
|
||||||
|
consolekit:/lib/systemd/system/poweroff.target.wants
|
||||||
|
consolekit:/lib/systemd/system/reboot.target.wants
|
||||||
|
consolekit:/lib/systemd/system/basic.target.wants/console-kit-log-system-start.service
|
||||||
|
consolekit:/lib/systemd/system/halt.target.wants/console-kit-log-system-stop.service
|
||||||
|
consolekit:/lib/systemd/system/poweroff.target.wants/console-kit-log-system-stop.service
|
||||||
|
consolekit:/lib/systemd/system/reboot.target.wants/console-kit-log-system-restart.service
|
||||||
|
cron:/lib/systemd
|
||||||
|
cron:/lib/systemd/system
|
||||||
|
cron:/lib/systemd/system/cron.service
|
||||||
|
cups-daemon:/lib/systemd
|
||||||
|
cups-daemon:/lib/systemd/system
|
||||||
|
cups-daemon:/lib/systemd/system/cups.path
|
||||||
|
cups-daemon:/lib/systemd/system/cups.service
|
||||||
|
cups-daemon:/lib/systemd/system/cups.socket
|
||||||
|
debhelper:/usr/share/debhelper/autoscripts/postinst-systemd-dont-enable
|
||||||
|
debhelper:/usr/share/debhelper/autoscripts/postinst-systemd-enable
|
||||||
|
debhelper:/usr/share/debhelper/autoscripts/postinst-systemd-restart
|
||||||
|
debhelper:/usr/share/debhelper/autoscripts/postinst-systemd-restartnostart
|
||||||
|
debhelper:/usr/share/debhelper/autoscripts/postinst-systemd-start
|
||||||
|
debhelper:/usr/share/debhelper/autoscripts/postrm-systemd
|
||||||
|
debhelper:/usr/share/debhelper/autoscripts/postrm-systemd-reload-only
|
||||||
|
debhelper:/usr/share/debhelper/autoscripts/prerm-systemd
|
||||||
|
debhelper:/usr/share/debhelper/autoscripts/prerm-systemd-restart
|
||||||
|
debhelper:/usr/share/perl5/Debian/Debhelper/Sequence/systemd.pm
|
||||||
|
devuan-baseconf:/etc/apt/preferences.d/avoid-systemd
|
||||||
|
dirmngr:/usr/lib/systemd
|
||||||
|
dirmngr:/usr/lib/systemd/user
|
||||||
|
dirmngr:/usr/lib/systemd/user/dirmngr.service
|
||||||
|
dirmngr:/usr/lib/systemd/user/dirmngr.socket
|
||||||
|
dirmngr:/usr/lib/systemd/user/sockets.target.wants
|
||||||
|
dirmngr:/usr/lib/systemd/user/sockets.target.wants/dirmngr.socket
|
||||||
|
dmeventd:/lib/systemd
|
||||||
|
dmeventd:/lib/systemd/system
|
||||||
|
dmeventd:/lib/systemd/system/dm-event.service
|
||||||
|
dmeventd:/lib/systemd/system/dm-event.socket
|
||||||
|
dnsmasq:/lib/systemd
|
||||||
|
dnsmasq:/lib/systemd/system
|
||||||
|
dnsmasq:/lib/systemd/system/dnsmasq.service
|
||||||
|
docker-engine:/lib/systemd
|
||||||
|
docker-engine:/lib/systemd/system
|
||||||
|
docker-engine:/lib/systemd/system/docker.service
|
||||||
|
docker-engine:/lib/systemd/system/docker.socket
|
||||||
|
glib-networking-services:/usr/lib/systemd
|
||||||
|
glib-networking-services:/usr/lib/systemd/user
|
||||||
|
glib-networking-services:/usr/lib/systemd/user/glib-pacrunner.service
|
||||||
|
gnupg-agent:/usr/lib/systemd
|
||||||
|
gnupg-agent:/usr/lib/systemd/user
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/gpg-agent-browser.socket
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/gpg-agent-extra.socket
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/gpg-agent-ssh.socket
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/gpg-agent.service
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/gpg-agent.socket
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/sockets.target.wants
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/sockets.target.wants/gpg-agent-browser.socket
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/sockets.target.wants/gpg-agent-extra.socket
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/sockets.target.wants/gpg-agent-ssh.socket
|
||||||
|
gnupg-agent:/usr/lib/systemd/user/sockets.target.wants/gpg-agent.socket
|
||||||
|
hdparm:/lib/systemd
|
||||||
|
hdparm:/lib/systemd/system-sleep
|
||||||
|
hdparm:/lib/systemd/system-sleep/hdparm
|
||||||
|
ifupdown:/lib/systemd
|
||||||
|
ifupdown:/lib/systemd/system
|
||||||
|
ifupdown:/lib/systemd/system/ifup@.service
|
||||||
|
ifupdown:/lib/systemd/system/networking.service
|
||||||
|
init-system-helpers:/etc/systemd
|
||||||
|
init-system-helpers:/etc/systemd/system
|
||||||
|
init-system-helpers:/usr/bin/deb-systemd-helper
|
||||||
|
init-system-helpers:/usr/bin/deb-systemd-invoke
|
||||||
|
init-system-helpers:/usr/share/man/man1/deb-systemd-helper.1p.gz
|
||||||
|
init-system-helpers:/usr/share/man/man1/deb-systemd-invoke.1p.gz
|
||||||
|
init-system-helpers:/var/lib/systemd
|
||||||
|
lintian:/usr/share/lintian/checks/systemd.desc
|
||||||
|
lintian:/usr/share/lintian/checks/systemd.pm
|
||||||
|
lintian:/usr/share/lintian/data/systemd
|
||||||
|
lintian:/usr/share/lintian/data/systemd/init-whitelist
|
||||||
|
lm-sensors:/lib/systemd
|
||||||
|
lm-sensors:/lib/systemd/system
|
||||||
|
lm-sensors:/lib/systemd/system/lm-sensors.service
|
||||||
|
lvm2:/lib/systemd
|
||||||
|
lvm2:/lib/systemd/system
|
||||||
|
lvm2:/lib/systemd/system/lvm2-lvmetad.service
|
||||||
|
lvm2:/lib/systemd/system/lvm2-lvmetad.socket
|
||||||
|
lvm2:/lib/systemd/system/lvm2-lvmpolld.service
|
||||||
|
lvm2:/lib/systemd/system/lvm2-lvmpolld.socket
|
||||||
|
lvm2:/lib/systemd/system/lvm2-monitor.service
|
||||||
|
lvm2:/lib/systemd/system/lvm2-pvscan@.service
|
||||||
|
lvm2:/lib/systemd/system-generators
|
||||||
|
lvm2:/lib/systemd/system-generators/lvm2-activation-generator
|
||||||
|
lvm2:/lib/systemd/system/lvm2.service
|
||||||
|
lxc:/lib/systemd
|
||||||
|
lxc:/lib/systemd/system
|
||||||
|
lxc:/lib/systemd/system/lxc-net.service
|
||||||
|
lxc:/lib/systemd/system/lxc.service
|
||||||
|
lxc:/lib/systemd/system/lxc@.service
|
||||||
|
lxcfs:/lib/systemd
|
||||||
|
lxcfs:/lib/systemd/system
|
||||||
|
lxcfs:/lib/systemd/system/lxcfs.service
|
||||||
|
lxdm:/lib/systemd
|
||||||
|
lxdm:/lib/systemd/system
|
||||||
|
lxdm:/lib/systemd/system/lxdm.service
|
||||||
|
neovim-runtime:/usr/share/nvim/runtime/ftplugin/systemd.vim
|
||||||
|
neovim-runtime:/usr/share/nvim/runtime/indent/systemd.vim
|
||||||
|
neovim-runtime:/usr/share/nvim/runtime/syntax/systemd.vim
|
||||||
|
nfs-common:/lib/systemd
|
||||||
|
nfs-common:/lib/systemd/system
|
||||||
|
nfs-common:/lib/systemd/system/auth-rpcgss-module.service
|
||||||
|
nfs-common:/lib/systemd/system/nfs-client.target
|
||||||
|
nfs-common:/lib/systemd/system/nfs-config.service
|
||||||
|
nfs-common:/lib/systemd/system/nfs-idmapd.service
|
||||||
|
nfs-common:/lib/systemd/system/nfs-utils.service
|
||||||
|
nfs-common:/lib/systemd/system/proc-fs-nfsd.mount
|
||||||
|
nfs-common:/lib/systemd/system/rpc-gssd.service
|
||||||
|
nfs-common:/lib/systemd/system/rpc-statd-notify.service
|
||||||
|
nfs-common:/lib/systemd/system/rpc-statd.service
|
||||||
|
nfs-common:/lib/systemd/system/rpc-svcgssd.service
|
||||||
|
nfs-common:/lib/systemd/system/run-rpc_pipefs.mount
|
||||||
|
nfs-common:/usr/lib/systemd
|
||||||
|
nfs-common:/usr/lib/systemd/scripts
|
||||||
|
nfs-common:/usr/lib/systemd/scripts/nfs-utils_env.sh
|
||||||
|
nfs-common:/lib/systemd/system/nfs-common.service
|
||||||
|
powerline:/usr/lib/systemd
|
||||||
|
powerline:/usr/lib/systemd/user
|
||||||
|
powerline:/usr/lib/systemd/user/powerline-daemon.service
|
||||||
|
python-powerline:/usr/lib/python2.7/dist-packages/powerline/dist/systemd
|
||||||
|
python-powerline:/usr/lib/python2.7/dist-packages/powerline/dist/systemd/powerline-daemon.service
|
||||||
|
redshift:/usr/lib/systemd
|
||||||
|
redshift:/usr/lib/systemd/user
|
||||||
|
redshift:/usr/lib/systemd/user/redshift.service
|
||||||
|
redshift-gtk:/usr/lib/systemd
|
||||||
|
redshift-gtk:/usr/lib/systemd/user
|
||||||
|
redshift-gtk:/usr/lib/systemd/user/redshift-gtk.service
|
||||||
|
resolvconf:/lib/systemd
|
||||||
|
resolvconf:/lib/systemd/system
|
||||||
|
resolvconf:/lib/systemd/system/resolvconf.service
|
||||||
|
rpcbind:/lib/systemd
|
||||||
|
rpcbind:/lib/systemd/system
|
||||||
|
rpcbind:/lib/systemd/system/rpcbind.service
|
||||||
|
rpcbind:/lib/systemd/system/rpcbind.socket
|
||||||
|
rpcbind:/lib/systemd/system/portmap.service
|
||||||
|
rsync:/lib/systemd
|
||||||
|
rsync:/lib/systemd/system
|
||||||
|
rsync:/lib/systemd/system/rsync.service
|
||||||
|
rsyslog:/lib/systemd
|
||||||
|
rsyslog:/lib/systemd/system
|
||||||
|
rsyslog:/lib/systemd/system/rsyslog.service
|
||||||
|
rtkit:/lib/systemd
|
||||||
|
rtkit:/lib/systemd/system
|
||||||
|
rtkit:/lib/systemd/system/rtkit-daemon.service
|
||||||
|
sanoid:/lib/systemd
|
||||||
|
sanoid:/lib/systemd/system
|
||||||
|
sanoid:/lib/systemd/system/sanoid.service
|
||||||
|
slim:/lib/systemd
|
||||||
|
slim:/lib/systemd/system
|
||||||
|
slim:/lib/systemd/system/slim.service
|
||||||
|
smartmontools:/lib/systemd
|
||||||
|
smartmontools:/lib/systemd/system
|
||||||
|
smartmontools:/lib/systemd/system/smartd.service
|
||||||
|
smartmontools:/lib/systemd/system/smartmontools.service
|
||||||
|
sudo:/lib/systemd
|
||||||
|
sudo:/lib/systemd/system
|
||||||
|
sudo:/lib/systemd/system/sudo.service
|
||||||
|
tlp:/lib/systemd
|
||||||
|
tlp:/lib/systemd/system
|
||||||
|
tlp:/lib/systemd/system/tlp-sleep.service
|
||||||
|
tlp:/lib/systemd/system/tlp.service
|
||||||
|
udev:/bin/systemd-hwdb
|
||||||
|
udev:/lib/systemd
|
||||||
|
udev:/lib/systemd/network
|
||||||
|
udev:/lib/systemd/network/99-default.link
|
||||||
|
udev:/lib/systemd/system
|
||||||
|
udev:/lib/systemd/system/sockets.target.wants
|
||||||
|
udev:/lib/systemd/system/sysinit.target.wants
|
||||||
|
udev:/lib/systemd/system/systemd-hwdb-update.service
|
||||||
|
udev:/lib/systemd/system/systemd-udev-settle.service
|
||||||
|
udev:/lib/systemd/system/systemd-udev-trigger.service
|
||||||
|
udev:/lib/systemd/system/systemd-udevd-control.socket
|
||||||
|
udev:/lib/systemd/system/systemd-udevd-kernel.socket
|
||||||
|
udev:/lib/systemd/system/systemd-udevd.service
|
||||||
|
udev:/lib/systemd/systemd-udevd
|
||||||
|
udev:/usr/share/man/man5/systemd.link.5.gz
|
||||||
|
udev:/usr/share/man/man8/systemd-hwdb.8.gz
|
||||||
|
udev:/usr/share/man/man8/systemd-udevd.service.8.gz
|
||||||
|
udev:/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket
|
||||||
|
udev:/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket
|
||||||
|
udev:/lib/systemd/system/sysinit.target.wants/systemd-hwdb-update.service
|
||||||
|
udev:/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service
|
||||||
|
udev:/lib/systemd/system/sysinit.target.wants/systemd-udevd.service
|
||||||
|
udev:/lib/systemd/system/udev.service
|
||||||
|
udev:/usr/share/man/man8/systemd-udevd-control.socket.8.gz
|
||||||
|
udev:/usr/share/man/man8/systemd-udevd-kernel.socket.8.gz
|
||||||
|
udev:/usr/share/man/man8/systemd-udevd.8.gz
|
||||||
|
unattended-upgrades:/lib/systemd
|
||||||
|
unattended-upgrades:/lib/systemd/system
|
||||||
|
unattended-upgrades:/lib/systemd/system/unattended-upgrades.service
|
||||||
|
usb-modeswitch:/lib/systemd
|
||||||
|
usb-modeswitch:/lib/systemd/system
|
||||||
|
usb-modeswitch:/lib/systemd/system/usb_modeswitch@.service
|
||||||
|
usbmuxd:/lib/systemd
|
||||||
|
usbmuxd:/lib/systemd/system
|
||||||
|
usbmuxd:/lib/systemd/system/usbmuxd.service
|
||||||
|
vim-runtime:/usr/share/vim/vim80/ftplugin/systemd.vim
|
||||||
|
vim-runtime:/usr/share/vim/vim80/indent/systemd.vim
|
||||||
|
vim-runtime:/usr/share/vim/vim80/syntax/systemd.vim
|
||||||
|
wpasupplicant:/lib/systemd
|
||||||
|
wpasupplicant:/lib/systemd/system
|
||||||
|
wpasupplicant:/lib/systemd/system/wpa_supplicant.service
|
||||||
|
wpasupplicant:/lib/systemd/system/wpa_supplicant@.service
|
||||||
|
xserver-xorg-input-wacom:/lib/systemd
|
||||||
|
xserver-xorg-input-wacom:/lib/systemd/system
|
||||||
|
xserver-xorg-input-wacom:/lib/systemd/system/wacom-inputattach@.service
|
||||||
|
zfs-dkms:/usr/src/zfs-0.6.5.9/config/user-systemd.m4
|
||||||
|
zfsutils-linux:/lib/systemd
|
||||||
|
zfsutils-linux:/lib/systemd/system
|
||||||
|
zfsutils-linux:/lib/systemd/system/zfs-import-cache.service
|
||||||
|
zfsutils-linux:/lib/systemd/system/zfs-import-scan.service
|
||||||
|
zfsutils-linux:/lib/systemd/system/zfs-mount.service
|
||||||
|
zfsutils-linux:/lib/systemd/system/zfs-share.service
|
||||||
|
zfsutils-linux:/lib/systemd/system/zfs.target
|
||||||
|
zfsutils-linux:/lib/systemd/system-preset
|
||||||
|
zfsutils-linux:/lib/systemd/system-preset/50-zfs.preset
|
||||||
Loading…
Reference in New Issue