How to shutdown the system after file is downloaded?



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


Latest posts

Top