From 49ce94051027a8c039f188d5ef1dd05769656d6c Mon Sep 17 00:00:00 2001 From: Sheppy Date: Sat, 5 Nov 2016 00:32:24 +0100 Subject: [PATCH] some addition scripts --- other/deb_install.sh | 9 +++++++++ other/modchange.sh | 4 ++++ other/sshcheck.sh | 7 +++++++ 3 files changed, 20 insertions(+) create mode 100644 other/deb_install.sh create mode 100644 other/modchange.sh create mode 100644 other/sshcheck.sh diff --git a/other/deb_install.sh b/other/deb_install.sh new file mode 100644 index 0000000..34c21cb --- /dev/null +++ b/other/deb_install.sh @@ -0,0 +1,9 @@ +apt install build-essential libtool autoconf +apt install rxvt-unicode zsh xorg herbstluftwm +apt install git tig python3 +apt install vim vim-nox vim-syntax-gtk +apt install tree tmux pulseaudio htop sudo ncdu +apt install iw wicd-curses +apt install iceweasel chromium libreoffice icedove +apt install kolourpain feh imagemagick +apt install kvm sleuthkit \ No newline at end of file diff --git a/other/modchange.sh b/other/modchange.sh new file mode 100644 index 0000000..fb8c659 --- /dev/null +++ b/other/modchange.sh @@ -0,0 +1,4 @@ +rmmod usbhid +echo "removed" +modprobe usbhid quirks=0x1a2c:0x0027:0x20000000 +echo "DONE" diff --git a/other/sshcheck.sh b/other/sshcheck.sh new file mode 100644 index 0000000..96392fb --- /dev/null +++ b/other/sshcheck.sh @@ -0,0 +1,7 @@ +if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then + SESSION_TYPE=remote/ssh +else + case $(ps -o comm= -p $PPID) in + sshd|*/sshd) SESSION_TYPE=remote/ssh;; + esac +fi \ No newline at end of file