Simple Schedule Shutdown On Linux

Pake perintah shutdown

#shutdown 20:00

(Untuk mematikan komputer pada jam 8 malem)

#shutdown -c

(membatalkan proses schedule shutdown)

#shutdown -r now

 (restart skarang atau parameter now diganti waktunya)

Pake shortcutkey CTRL-ALT-DELt dimodif

#vim /etc/inittab

Script dibawah dirubah

ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

Menjadi

ca:12345:ctrlaltdel:/sbin/poweroff

or

ca:12345:ctrlaltdel:/sbin/shutdown 20:00

or

ca:12345:ctrlaltdel:/bin/echo “Punteun teu tiasa dipencet CTRL+ALT+DEL”

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s