Add new stuff
This commit is contained in:
parent
a90fc81098
commit
de8e2b68e8
1 changed files with 2 additions and 2 deletions
|
|
@ -38,11 +38,11 @@ function download_github_folder() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function bye() {
|
function bye() {
|
||||||
if ps -p $(pidof rsync) > /dev/null
|
if ps -p $(pidof rsync) 2> /dev/null
|
||||||
then
|
then
|
||||||
echo 'Rsync is running, not going to sleep.'
|
echo 'Rsync is running, not going to sleep.'
|
||||||
else
|
else
|
||||||
echo 'systemctl supend'
|
systemctl suspend
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue