aboutsummaryrefslogtreecommitdiff
path: root/rc.multi
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2002-03-04 07:28:25 +0000
committerJudd Vinet <judd@archlinux.org>2002-03-04 07:28:25 +0000
commit98c76a453222169f12b0e95f8a7ed0175e182598 (patch)
tree59132a1d0bafb1a284b804b29bda1dbc049fd79d /rc.multi
downloadinitscripts-98c76a453222169f12b0e95f8a7ed0175e182598.tar.xz
Initial revision
Diffstat (limited to 'rc.multi')
-rwxr-xr-xrc.multi26
1 files changed, 26 insertions, 0 deletions
diff --git a/rc.multi b/rc.multi
new file mode 100755
index 0000000..c3c48d8
--- /dev/null
+++ b/rc.multi
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# /etc/rc.multi
+#
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+# Start pcmcia
+if [ "$PCMCIA" = "yes" -a -f /etc/rc.d/pcmcia ]; then
+ /etc/rc.d/pcmcia start
+fi
+
+stat_busy "Starting Network"
+stat_done
+
+# Start daemons
+for daemon in "${DAEMONS[@]}"; do
+ /etc/rc.d/$daemon start
+done
+
+if [ -x /etc/rc.local ]; then
+ /etc/rc.local
+fi
+
+# End of file