masukin aja command ke dalam bash script.
taruh di /etc/init.d
baru di link kan ke /etc/rc0.d/ (di exekusi saat shutdown/halt) dan
/etc/rc6.d/ (di exekusi saat reboot)

.: http://underdarkonsole.blogspot.com:.




On Mon, Feb 28, 2011 at 3:23 PM, Thoriq Rachmat <[email protected]> wrote:
> Ato bs jg di jadiin cron gan,..... Hehehehe
> --------------------------
>
> Best Regards,
>
>
> Thoriq Ibnu Rachmat
> +62 21 9223 9820 (M)
>
> If You Need a Simple Server Please Visit
> http://thoriquez.worpress.com
>
> -----Original Message-----
> From: toto yulian <[email protected]>
> Date: Mon, 28 Feb 2011 10:56:20
> To: <[email protected]>
> Reply-To: [email protected]
> Subject: Re: [tanya-jawab] tempat script kode-2 ketika proses shutdown di 
> ubuntu
> 2011/2/15 Dodi Ara <[email protected]>:
>> kl mau simpan script-2 berikut, dimananya y..?
>> Atau buat shell sendirikah?
>>
>>
>>
>> echo  "Bersihkan folder /tmp"
>> rm -rf /tmp/*
>>
>> echo  "Bersihkan view user log di pidgin"
>> rm -rf /root/.purple/logs/*
>>
> munkin bisa di masukan di : /etc/rc.local
>
>
> --
> ::  http://www.blackonsole.org  ::
>
> --
> FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
> Unsubscribe: kirim email ke [email protected]
> Arsip dan info milis selengkapnya di http://linux.or.id/milis
>
>

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [email protected]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke