add scripts
This commit is contained in:
parent
8e5898aa57
commit
428458e50a
36 changed files with 934 additions and 0 deletions
12
.bin/sh/reboot.sh
Executable file
12
.bin/sh/reboot.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Prompt Reboot
|
||||
|
||||
{
|
||||
read -p "Reboot now? [y/n]:" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
command shutdown -r now
|
||||
fi
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue