Lines 8-17
Link Here
|
8 |
|
8 |
|
9 |
#Try for common tools |
9 |
#Try for common tools |
10 |
if [ -x "/sbin/shutdown" ] ; then |
10 |
if [ -x "/sbin/shutdown" ] ; then |
11 |
/sbin/shutdown -h now |
11 |
/sbin/shutdown -h now && pkill slim |
12 |
exit $? |
12 |
exit $? |
13 |
elif [ -x "/usr/sbin/shutdown" ] ; then |
13 |
elif [ -x "/usr/sbin/shutdown" ] ; then |
14 |
/usr/sbin/shutdown -h now |
14 |
/usr/sbin/shutdown -h now && pkill slim |
15 |
exit $? |
15 |
exit $? |
16 |
else |
16 |
else |
17 |
unsupported |
17 |
unsupported |
18 |
|
18 |
|