pika-drivers/data/dialog-success.sh

7 lines
161 B
Bash
Raw Normal View History

2023-07-01 16:11:54 +02:00
#! /bin/bash
if zenity --question --text ""$1" has been processed successfully. Would you like to reboot for changes to take effect?"
then
systemctl reboot
fi