diff options
author | Daniel Tartavel <contact@librepc.com> | 2019-03-27 23:13:40 +0100 |
---|---|---|
committer | Daniel Tartavel <contact@librepc.com> | 2019-03-27 23:13:40 +0100 |
commit | 17cb092b9a60a8d9664aaa59cb0f43912372b57e (patch) | |
tree | a92fa63c7bc7dde0fd8ac35bbbc52358e84f870d /init.d | |
parent | 1c3749325bca0c71288d8085e85d14e1ba831fed (diff) | |
download | mageia4arm-17cb092b9a60a8d9664aaa59cb0f43912372b57e.tar mageia4arm-17cb092b9a60a8d9664aaa59cb0f43912372b57e.tar.gz mageia4arm-17cb092b9a60a8d9664aaa59cb0f43912372b57e.tar.bz2 mageia4arm-17cb092b9a60a8d9664aaa59cb0f43912372b57e.tar.xz mageia4arm-17cb092b9a60a8d9664aaa59cb0f43912372b57e.zip |
debug
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 |