インストールする
$ unzip SimpleSoftwareVer220_Linux_X64.zip
$ cd SimpleSoftwareVer220_Linux_X64/Release/
$ sudo bash ./install.sh
....
(注意)
install.shの中の下記の部分のようにDebianに対応しているようだ。が、hostnameをdebianにしていないとDebian用設定にならない事に注意。
install.shのこの部分の 'uname -n' を強制的に debian に書き換えるなどして対応しましょう...
case `uname -n` in
debian)
mv -f /usr/lib/ssd/master/SimpleShutdown /etc/init.d/SimpleShutdown
update-rc.d SimpleShutdown defaults >/dev/null 2>&1
;;
*)
mv -f /usr/lib/ssd/master/S99SimpleShutdown /etc/init.d/S99SimpleShutdown
ln -s /etc/init.d/S99SimpleShutdown /etc/rc1.d/S99SimpleShutdown >/dev/null 2>&1
ln -s /etc/init.d/S99SimpleShutdown /etc/rc2.d/S99SimpleShutdown >/dev/null 2>&1
ln -s /etc/init.d/S99SimpleShutdown /etc/rc3.d/S99SimpleShutdown >/dev/null 2>&1
ln -s /etc/init.d/S99SimpleShutdown /etc/rc5.d/S99SimpleShutdown >/dev/null 2>&1
esac
設定をする(設定時は必ずSimpleShutdownSoftwareを止めてから行なう事)
$ sudo /usr/lib/ssd/master/config.sh
....
******************************************************************************
[Reconfirm shutdown parameter of the iolite (Master Agent)].
******************************************************************************
1. Port Selection Mode: Semiautomatic Mode(Only select all USB device)
2. Select USB communication mode : HID
3. AC fail Delay time (Sec): 300
4. External Command Line: /usr/local/bin/mail-shutdown.sh
5. External Command needs time (Sec): 0
6. OS Shutdown needs time (Sec): 120
7. Send Message to login users: Disable
8. System closing mode : Shutdown
******************************************************************************