How to shutdown the system after file is downloaded?



B

bashcommando

Guest
Or
Code:
#!/bin/sh
export check=0
sudo export check=1
if [$check==1]
then
wget http://path/to/file
sudo poweroff
fi
 

Members online

No members online now.

Latest posts

Top