diff options
author | Joe <bousset.rudy@gmail.com> | 2022-05-05 12:09:50 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-05-05 12:09:50 +0200 |
commit | abe0043c30797b4a6395ea0c45b98fb1fefb8c49 (patch) | |
tree | 0b307f5f1a9cf0b9713d315e34c6eecdd7799b68 /.local/bin | |
parent | scrot script update (diff) | |
download | dotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.tar.gz dotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.tar.bz2 dotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.tar.xz dotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.tar.zst dotfiles-bsd-abe0043c30797b4a6395ea0c45b98fb1fefb8c49.zip |
Debian jails incomming
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/debmnt | 17 | ||||
-rwxr-xr-x | .local/bin/debumnt | 10 | ||||
-rwxr-xr-x | .local/bin/scrhome | 2 |
3 files changed, 28 insertions, 1 deletions
diff --git a/.local/bin/debmnt b/.local/bin/debmnt new file mode 100755 index 0000000..2928194 --- /dev/null +++ b/.local/bin/debmnt @@ -0,0 +1,17 @@ +#!/bin/sh + +echo "devfs /compat/debian/dev devfs rw 0 0" >> /etc/fstab +echo "fdescfs /compat/debian/dev/fd fdescfs rw,linrdlnk 0 1" >> /etc/fstab +echo "linsys /compat/debian/sys linsysfs rw 0 0" >> /etc/fstab +echo "linproc /compat/debian/proc linprocfs rw 0 0" >> /etc/fstab + +mount /compat/debian/dev +mount /compat/debian/dev/fd +mount /compat/debian/proc +mount /compat/debian/sys + +sysctl compat.linux.osrelease=4.19.0 +kldload linux +kldload linux64 + +chroot /compat/debian /bin/bash diff --git a/.local/bin/debumnt b/.local/bin/debumnt new file mode 100755 index 0000000..ad592b7 --- /dev/null +++ b/.local/bin/debumnt @@ -0,0 +1,10 @@ +#!/bin/sh + +umount /compat/debian/dev +umount /compat/debian/dev/fd +umount /compat/debian/proc +umount /compat/debian/sys + +sed -i '' '/debian/d' /etc/fstab + +kldunload linux diff --git a/.local/bin/scrhome b/.local/bin/scrhome index 492395d..0b406e3 100755 --- a/.local/bin/scrhome +++ b/.local/bin/scrhome @@ -47,7 +47,7 @@ xrandr --output LVDS-1 --off xrandr --output HDMI-1 --off xrandr --output VGA-1 --off -# xrandr --output LVDS-1 --mode 1366x768 --pos 1920x657 --rotate normal +#xrandr --output LVDS-1 --mode 1366x768 --pos 1920x657 --rotate normal xrandr \ --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal \ --output VGA-1 --mode 1440x900 --pos 1920x0 --rotate normal \ |