Initial import
This commit is contained in:
commit
7bc6d729f7
18 files changed
+238
No files matched your search
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
# load settings from config file
|
||||
. /etc/default/grub
|
||||
|
||||
# create config
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
# install on ssd and hdd
|
||||
#grub-install --modules="$GRUB_PRELOAD_MODULES" /dev/sda
|
||||
grub-install --modules="$GRUB_PRELOAD_MODULES" /dev/sdb
|
||||
|
||||
# sync and that's it
|
||||
sync
|
||||
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
tmp=${TMPDIR-/tmp}/pacman-disowned-$UID-$$
|
||||
db=$tmp/db
|
||||
fs=$tmp/fs
|
||||
|
||||
mkdir "$tmp"
|
||||
trap 'rm -rf "$tmp"' EXIT
|
||||
|
||||
pacman -Qlq | sort -u > "$db"
|
||||
|
||||
find /etc /opt /usr ! -name lost+found \( -type d -printf '%p/\n' -o -print \) | sort > "$fs"
|
||||
|
||||
comm -23 "$fs" "$db"
|
||||
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
tmp=${TMPDIR-/tmp}/pacman-disowned-$UID-$$
|
||||
db=$tmp/db
|
||||
fs=$tmp/fs
|
||||
|
||||
mkdir "$tmp"
|
||||
|
||||
pacman -Qlq | sort -u > "$db"
|
||||
|
||||
find /bin /etc /lib /sbin /usr \
|
||||
! -name lost+found \
|
||||
\( -type d -printf '%p/\n' -o -print \) | sort > "$fs"
|
||||
|
||||
comm -23 "$fs" "$db"
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
Cnt="Germany";
|
||||
awk -v GG=$Cnt '{if(match($0,GG) != "0")AA="1";if(AA == "1"){if( length($2) != "0" )print substr($0,2) ;else AA="0"} }' /etc/pacman.d/mirrorlist.pacnew > /etc/pacman.d/mirrorlist.germany
|
||||
rankmirrors -n 6 /etc/pacman.d/mirrorlist.germany > /etc/pacman.d/mirrorlist
|
||||
rm /etc/pacman.d/mirrorlist.germany
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
hdparm -y /dev/sdc
|
||||
hdparm -y /dev/sdd
|
||||
|
||||
Reference in new issue
Block a user