|
Both of those lines and you should add "-h now" after shutdown.sh without this it wont work well, this command tells the shutdown.sh to put the system in halt state, now. Then after halt process got completed and partitions got unmounted system will be ready to get powered off (by pulling it out of power, or unpluging it) |
|