mandrake_firstime 358 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. # Description: Launch Mageia Configuration for the first time.
  3. # (c) Mandriva, Chmouel Boudjnah <chmouel@mandriva.com>
  4. # $Id$
  5. FLO=/var/log/first_boot_log
  6. touch $FLO
  7. . /etc/rc.d/init.d/functions
  8. # If fail erase the temporary file
  9. trap 'rm -f /var/lock/TMP_1ST' 1 2 3 15
  10. SYSTEM=
  11. [ -s $FLO ] || rm -f $FLO
  12. # Finish
  13. rm -f /var/lock/TMP_1ST