Add original scripts
This commit is contained in:
11
poweroff
Executable file
11
poweroff
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
if [ -x /sbin/storage_util ];then
|
||||
/sbin/storage_util --shutdown_check
|
||||
if [ $? -eq 0 ];then
|
||||
/sbin/log_tool -t 1 -a "Auto shutdown was canceled because one volume was busy"
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
. /etc/init.d/wait_RR
|
||||
echo shutdown start...
|
||||
/sbin/poweroff
|
||||
Reference in New Issue
Block a user