diff options
Diffstat (limited to '.local')
-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 \ |