summaryrefslogtreecommitdiffstats
path: root/tools/solaris/ck-system-stop
diff options
context:
space:
mode:
Diffstat (limited to 'tools/solaris/ck-system-stop')
-rwxr-xr-xtools/solaris/ck-system-stop11
1 files changed, 1 insertions, 10 deletions
diff --git a/tools/solaris/ck-system-stop b/tools/solaris/ck-system-stop
index e26bca3..d5b2fde 100755
--- a/tools/solaris/ck-system-stop
+++ b/tools/solaris/ck-system-stop
@@ -1,12 +1,3 @@
#!/bin/sh
-#Try for common tools
-if [ -x "/sbin/shutdown" ] ; then
- /sbin/shutdown -h now
- exit $?
-elif [ -x "/usr/sbin/shutdown" ] ; then
- /usr/sbin/shutdown -h now
- exit $?
-else
- exit 1
-fi
+/sbin/init 5