tuto3: add raz-my-dd helper script
This commit is contained in:
parent
71669a2f7a
commit
f9f2ce4cd2
10
tuto3.yml
10
tuto3.yml
|
@ -467,6 +467,16 @@ files:
|
|||
nsenter -t $(pgrep dhcpcd) -a dhcpcd
|
||||
mode: "0755"
|
||||
|
||||
- path: /usr/sbin/raz-my-dd
|
||||
contents: |
|
||||
#!/bin/sh
|
||||
echo -n "Are you sure? Press Enter to continue... "
|
||||
read -s
|
||||
dd if=/dev/zero of=/dev/sda size=10 bs=4096
|
||||
sync
|
||||
reboot -f
|
||||
mode: "0755"
|
||||
|
||||
- path: /usr/sbin/join-p0m
|
||||
contents: |
|
||||
[ -f "/var/lib/adlin/wireguard/adlin.token" ] && echo "A token is already defined. You'll erase it it you continue."
|
||||
|
|
Reference in New Issue