diff options
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/mandrake_firstime | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/init.d/mandrake_firstime b/init.d/mandrake_firstime new file mode 100644 index 0000000..8e7216e --- /dev/null +++ b/init.d/mandrake_firstime @@ -0,0 +1,23 @@ +#!/bin/sh +# Description: Launch Mageia Configuration for the first time. +# (c) Mandriva, Chmouel Boudjnah <chmouel@mandriva.com> +# $Id$ + +FLO=/var/log/first_boot_log +touch $FLO + +. /etc/rc.d/init.d/functions + +# If fail erase the temporary file +trap 'rm -f /var/lock/TMP_1ST' 1 2 3 15 + +SYSTEM= + + + + + +[ -s $FLO ] || rm -f $FLO + +# Finish +rm -f /var/lock/TMP_1ST |