キャラクデバイスからシステムを停止
- Ubuntu20.04.2
- kernel5.8.0-53
- GCC
HTTP
git clone https://github.com/fumiya5863/Kernel-Stop-Machine.git
SSH
git clone [email protected]:fumiya5863/Kernel-Stop-Machine.git
sudo apt install linux-headers-$(uname -r)
cd Kernel-Stop-Machine
make
sudo insmod chardev_stop_machine.ko
sudo chown $USER:$USER /dev/stop-machine
echo 5000 > /dev/stop-machine