diff core/rc/rc.init @ 630:58211c615a8c

core/rc: add basic rc.networking support
author David Demelier <markand@malikania.fr>
date Tue, 23 Jul 2019 23:00:00 +0200
parents dbd752e285f6
children 2bac0c29807f
line wrap: on
line diff
--- a/core/rc/rc.init	Tue Jul 23 22:56:00 2019 +0200
+++ b/core/rc/rc.init	Tue Jul 23 23:00:00 2019 +0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# /etc/rc.init: system initialization script
+# /etc/rc.init -- system initialization script
 #
 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
 #
@@ -122,3 +122,8 @@
 
 # Cleanup some files.
 rm -f /etc/forcefsck
+
+# Startup networking.
+if [ -x /etc/rc.networking ]; then
+	/etc/rc.networking start
+fi