|
Re: How to prompt user to manually shutdown system
I tried to solve the problem by adding the following script in /etc/init.d, then creating two symbolic links with name K99scriptname to it in /etc/rc0.d and /etc/rc6.d. However, the script is not being executed at shutdown.
#!/bin/sh
clear
echo "============================================= =="
echo "=== ==="
echo "=== Please turn off the power now ! ==="
echo "=== ==="
echo "============================================= =="
while :
do
sleep 1
done
|