Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] grub vs lilo



>>>>> "Andy" == Andy Hunne <andy@example.com> writes:

    Andy> Personally I think the best feature of grub is not needing
    Andy> to "re-install" it every time you change the configuration
    Andy> of you menu.lst file as you do with lilo.

;; don't try this at home, untested :-þ
(add-hook 'write-file-hooks
  (lambda ()
    (let ((val (continue-save-buffer)))
      (when (string= (file-truename (buffer-file-name (current-buffer)))
                     "/etc/lilo.conf")
        (shell-command "/usr/sbin/lilo"))
        (return t)))

Some things just aren't a problem if you use decent tools.  ;-)


-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
              Don't ask how you can "do" free software business;
              ask what your business can "do for" free software.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links