summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110427/004208.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/20110427/004208.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/20110427/004208.html')
-rw-r--r--zarb-ml/mageia-dev/20110427/004208.html83
1 files changed, 83 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110427/004208.html b/zarb-ml/mageia-dev/20110427/004208.html
new file mode 100644
index 000000000..c888bce71
--- /dev/null
+++ b/zarb-ml/mageia-dev/20110427/004208.html
@@ -0,0 +1,83 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] How should an init script determine if it is being run during install or regular boot?
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20How%20should%20an%20init%20script%20determine%20if%20it%20is%20being%0A%09run%20during%20install%20or%20regular%20boot%3F&In-Reply-To=%3Cm3d3k7x5a9.fsf%40euphor.blino.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="004210.html">
+ <LINK REL="Next" HREF="004209.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] How should an init script determine if it is being run during install or regular boot?</H1>
+ <B>Olivier Blin</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20How%20should%20an%20init%20script%20determine%20if%20it%20is%20being%0A%09run%20during%20install%20or%20regular%20boot%3F&In-Reply-To=%3Cm3d3k7x5a9.fsf%40euphor.blino.org%3E"
+ TITLE="[Mageia-dev] How should an init script determine if it is being run during install or regular boot?">mageia at blino.org
+ </A><BR>
+ <I>Wed Apr 27 14:11:42 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="004210.html">[Mageia-dev] Freeze push request: bluez
+</A></li>
+ <LI>Next message: <A HREF="004209.html">[Mageia-dev] Freeze push request: kdepim4-runtime
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4208">[ date ]</a>
+ <a href="thread.html#4208">[ thread ]</a>
+ <a href="subject.html#4208">[ subject ]</a>
+ <a href="author.html#4208">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Michael scherer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">misc at zarb.org</A>&gt; writes:
+
+&gt;&gt;<i> While I can submit a new patch that checks to see
+</I>&gt;&gt;<i> if /var/lib/named or /mnt/var/lib/named exists, to
+</I>&gt;&gt;<i> determine if the script is running in an install or
+</I>&gt;&gt;<i> a normal bootup, I'm wondering if there is a &quot;standard&quot;
+</I>&gt;&gt;<i> way for an init script to determine which environment
+</I>&gt;&gt;<i> it's being run in.
+</I>&gt;<i>
+</I>&gt;<i> There is likely some heuristics based on env vars, but nothing
+</I>&gt;<i> I can think of right now ( and that doesn't seems very good to
+</I>&gt;<i> react differently during installation or not ).
+</I>
+You can use the following:
+
+if [ -z &quot;$DURING_INSTALL&quot; ]; then
+ ...
+else
+ ...
+fi
+
+--
+Olivier Blin - blino
+</PRE>
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="004210.html">[Mageia-dev] Freeze push request: bluez
+</A></li>
+ <LI>Next message: <A HREF="004209.html">[Mageia-dev] Freeze push request: kdepim4-runtime
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4208">[ date ]</a>
+ <a href="thread.html#4208">[ thread ]</a>
+ <a href="subject.html#4208">[ subject ]</a>
+ <a href="author.html#4208">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>