8 lines
107 B
Plaintext
8 lines
107 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
ans=$(printf "no\nyes" | dmenu -p "Reboot?")
|
||
|
|
||
|
if [ "$ans" = "yes" ]; then
|
||
|
/usr/bin/reboot
|
||
|
fi
|