add laptop configs
This commit is contained in:
parent
9b8dd017d8
commit
47fac581ee
46 changed files with 3332 additions and 0 deletions
12
dot-files-laptop/.bin/sh/shutdown.sh
Executable file
12
dot-files-laptop/.bin/sh/shutdown.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Prompt Reboot
|
||||
|
||||
{
|
||||
read -p "Shutdown now? [y/n]:" -n 1 -r
|
||||
echo
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
command shutdown -h now
|
||||
fi
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue