Test Script
This commit is contained in:
parent
4788470c0d
commit
94f1926a39
1 changed files with 3 additions and 9 deletions
|
@ -1,11 +1,4 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -n "$1" ]]; then
|
||||
case "$1" in
|
||||
|
@ -25,6 +18,7 @@ if [[ -n "$1" ]]; then
|
|||
hibernate
|
||||
;;
|
||||
--help | -h)
|
||||
hilfe
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
|
@ -60,7 +54,7 @@ function hibernate {
|
|||
lock
|
||||
sudo systemctl reboot
|
||||
}
|
||||
function help {
|
||||
function hilfe {
|
||||
echo "
|
||||
Usage:
|
||||
./build.sh [-l|-r|-s|-sd|-hb]
|
||||
|
|
Loading…
Reference in a new issue