Added system config files
This commit is contained in:
parent
ed35d283ab
commit
beac4379c2
4 changed files with 38 additions and 0 deletions
6
config/etc/bash.bash_logout
Normal file
6
config/etc/bash.bash_logout
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# ~/.bash_logout: executed by bash(1) when login shell exits.
|
||||||
|
|
||||||
|
if [ "$SHLVL" = 1 ]; then
|
||||||
|
[ -x /usr/bin/clear ] && /usr/bin/clear -q
|
||||||
|
fi
|
4
config/etc/dracut.conf
Normal file
4
config/etc/dracut.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# PUT YOUR CONFIG IN separate files
|
||||||
|
# in /etc/dracut.conf.d named "<name>.conf"
|
||||||
|
# SEE man dracut.conf(5) for options
|
||||||
|
add_drivers+=" i915 "
|
14
config/etc/issue
Normal file
14
config/etc/issue
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[H[2J[3J
|
||||||
|
\e[H\e[2J
|
||||||
|
\e[0;32m
|
||||||
|
_______
|
||||||
|
\\_____ `- ____ ____ .__ .___ .____ .__
|
||||||
|
/\\ ___ `- \\ \\ \\ / /___ |__| __| _/ | | |__| ____ __ _____ ___
|
||||||
|
| | / \\ | | \\ Y / _ \\| |/ __ | | | | |/ \\| | \\ \\/ /
|
||||||
|
| | \\___/ | | \\ ( <_> ) / /_/ | | |___| | | \\ | /> <
|
||||||
|
\\ `-_____ \\/ \\___/ \\____/|__\\____ | |_______ \\__|___| /____//__/\\_ \\
|
||||||
|
`-______\\ \\/ \\/ \\/ \\/
|
||||||
|
|
||||||
|
\e[0m
|
||||||
|
Welcome Back! Linux Version: \r (\n) (\l)
|
||||||
|
|
14
config/etc/sv/runsvdir-drk/run
Executable file
14
config/etc/sv/runsvdir-drk/run
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export USER="drk"
|
||||||
|
export HOME="/home/$USER"
|
||||||
|
export XDG_RUNTIME_DIR="/run/user/$(id -u $USER)"
|
||||||
|
mkdir $XDG_RUNTIME_DIR
|
||||||
|
chown $USER:$USER $XDG_RUNTIME_DIR
|
||||||
|
|
||||||
|
groups="$(id -Gn "$USER" | tr ' ' ':')"
|
||||||
|
svdir="$HOME/.config/services"
|
||||||
|
mkdir -p "$svdir"
|
||||||
|
chown $USER:$USER "$svdir"
|
||||||
|
|
||||||
|
exec chpst -u "$USER:$groups" runsvdir "$svdir"
|
Loading…
Reference in a new issue