Date: Wed, 26 Jul 2000 11:19:33 -0500 (CDT) From: FreeBSD <freebsd@KIWI-Computer.com> To: j mckitrick <jcm@FreeBSD-uk.eu.org> Cc: questions@FreeBSD.ORG Subject: Re: restarting w/o rebooting Message-ID: <200007261619.LAA33265@KIWI-Computer.com> In-Reply-To: <20000725155826.B29415@dogma.freebsd-uk.eu.org> from j mckitrick at "Jul 25, 2000 03:58:26 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> I am testing new firewall rules, and i would like to restart the appropriate > progs without rebooting , which is what i do now. > (you can tell i've been around windows too much :) Just a side-note, dropping into single-user mode & exiting is a much faster way of "rebooting" without reloading your kernel (if you rebuild your kernel, you're stuck with waiting for that pesky BIOS post). It saves much time if you're just testing your /etc/rc scripts & bootup options... As root, use just plain "shutdown now", it'll ask you for root's shell, default /bin/sh; just hit return, then type "exit" to re-run init & your rc scripts. Note that this doesn't umount/mount file systems nor does it change other kernel-stored options such as your firewall rules, but when your /etc/rc.firewall or similar script runs, a line such as: $fwcmd -f flush will remove all firewall rules. That line should be in your fw script near the beginning anyway... (Stay away from windows-- From what I hear, vmware is pretty nice, albeit a memory-hog; and I've had better luck w/ hardware in fbsd than w/ windoze - even in PnP mode! ;) -- Rick C. Petty To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007261619.LAA33265>