Incremental Poweroff.

 qdbus org.kde.ActivityManager /ActivityManager/Activities SetCurrentActivity 8fa63726-6d6a-4f8f-ba47-88a7c02f9918;sudo custom_poweroff

cat (which custom_poweroff)

#!/bin/bash

sync

batchkill;sleep 7;extdrives2off;sleep 13;macchanger enp6s0 -m cc:cc:cc:cc:cc:cc;sleep 10;ethtool -s enp6s0 wol g;sleep 1;systemctl poweroff

cat (which batchkill)

#!/bin/bash

#sync

pkill -9 qbitt

pkill -9 transmi

pkill -9 deluge

pkill -9 rsync

pkill -9 dolphin

pkill smpla

pkill -9 chrom

pkill -9 opera

pkill -9 vival

pkill -9 water

pkill -9 telegr

pkill -9 AppRun.wr

pkill -9 vlc

cat (which extdrives2off)

#!/bin/bash

toffusbstuff usb_ext4

toffusbstuff UEFI_NTFS 

toffusbstuff pock

toffusbstuff bkp1

toffusbstuff evr

cat (which toffusbstuff)

#!/bin/bash

sync

name=$(lsblk -o label,name|grep -i $1|grep -io sd[a-z][0-9])

umount -lf /dev/$name

udisksctl power-off -b /dev/$name

echo $name

Comments

Popular posts from this blog

TAM, guide of features & smart tricks.

TAM ChangeLog..

/Key element of basic cyber security/