Compare commits

...

2 Commits

2 changed files with 8 additions and 1 deletions

View File

@ -25,7 +25,7 @@ if [ $? -ne 0 ]; then
fi
echo;
echo "Restoring up partition table...";
sfdisk -d "/dev/$2" < "/mnt/tabls/$1.tbl";
sfdisk "/dev/$2" < "/mnt/tabls/$1.tbl";
rm -rf /tmp/a;
echo "Finished!";
exit 0;

View File

@ -1,6 +1,7 @@
if [ -f ~/.bash_aliases_priv ]; then
. ~/.bash_aliases_priv
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 waydroid-start="waydroid session start"
alias waydroid-show="waydroid show-full-ui"
@ -232,3 +233,9 @@ function apt-search() {
function apt-search-installed() {
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";
}