]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
splashy: Add a initscript.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Aug 2009 08:51:31 +0000 (10:51 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Aug 2009 08:51:31 +0000 (10:51 +0200)
lfs/splashy
src/initscripts/extras/splashy.conf [new file with mode: 0644]

index 3cdda7b52b759ad26e56696a13f999772a4df984..e321a1311cbec8624f9fcc146c408bf6270bc8fd 100644 (file)
@@ -94,5 +94,7 @@ $(OBJECT): $(objects)
                /usr/share/initramfs-tools /lib/libsplashy{,cnf}.la \
                /etc/init.d/splashy
 
+       $(INSTALL_INITSCRIPT)
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
diff --git a/src/initscripts/extras/splashy.conf b/src/initscripts/extras/splashy.conf
new file mode 100644 (file)
index 0000000..4e422b5
--- /dev/null
@@ -0,0 +1,15 @@
+description            "A nice boot splash"
+author                 "IPFire Team"
+
+start on starting welcome
+stop on starting tty1
+
+pre-start script
+       splashy_chvt 8
+       splashy boot
+end script
+
+post-stop script
+       splashy_update "exit"
+       splashy_chvt 1
+end script