Compare commits
2 Commits
7f2ed096d2
...
a94f105048
Author | SHA1 | Date | |
---|---|---|---|
a94f105048 | |||
0d7c185edc |
@ -25,7 +25,7 @@ if [ $? -ne 0 ]; then
|
|||||||
fi
|
fi
|
||||||
echo;
|
echo;
|
||||||
echo "Restoring up partition table...";
|
echo "Restoring up partition table...";
|
||||||
sfdisk -d "/dev/$2" < "/mnt/tabls/$1.tbl";
|
sfdisk "/dev/$2" < "/mnt/tabls/$1.tbl";
|
||||||
rm -rf /tmp/a;
|
rm -rf /tmp/a;
|
||||||
echo "Finished!";
|
echo "Finished!";
|
||||||
exit 0;
|
exit 0;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
if [ -f ~/.bash_aliases_priv ]; then
|
if [ -f ~/.bash_aliases_priv ]; then
|
||||||
. ~/.bash_aliases_priv
|
. ~/.bash_aliases_priv
|
||||||
fi
|
fi
|
||||||
|
alias ssh-host-key='ssh-keyscan localhost | ssh-keygen -lf -'
|
||||||
alias weston-phone="weston --width=1920 --height=1056 -S /run/user/1000/wayland-1"
|
alias weston-phone="weston --width=1920 --height=1056 -S /run/user/1000/wayland-1"
|
||||||
alias waydroid-start="waydroid session start"
|
alias waydroid-start="waydroid session start"
|
||||||
alias waydroid-show="waydroid show-full-ui"
|
alias waydroid-show="waydroid show-full-ui"
|
||||||
@ -232,3 +233,9 @@ function apt-search() {
|
|||||||
function apt-search-installed() {
|
function apt-search-installed() {
|
||||||
apt list --installed | grep "$1";
|
apt list --installed | grep "$1";
|
||||||
}
|
}
|
||||||
|
function attach-raw-img() {
|
||||||
|
sudo udisksctl loop-setup -f "$1";
|
||||||
|
}
|
||||||
|
function dettach-raw-img() {
|
||||||
|
sudo udisksctl loop-delete -b "$1";
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user