[arch-projects] [INITSCRIPTS][PATCH] rc.conf: Disable network in DAEMONS array

Sébastien Luttringer seblu at seblu.net
Sun Jul 22 12:00:52 EDT 2012


We should disable network script by default in DAEMONS array.
With a fresh install using the new iso image, after reboot we have an error
message:
Error: `interface' is undefined in /etc/rc.conf

it's more consistent to have a default rc.conf without network enabled (and
error printed). If someone wants network with rc.conf he can define interface
variable and remove ! in DAEMONS array.

Signed-off-by: Sébastien Luttringer <seblu at seblu.net>
---
 rc.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rc.conf b/rc.conf
index 4280c05..0716892 100644
--- a/rc.conf
+++ b/rc.conf
@@ -4,7 +4,7 @@
 # See 'rc.conf(5)' for more details
 #
 
-DAEMONS=(syslog-ng network crond)
+DAEMONS=(syslog-ng !network crond)
 
 # Storage
 #
-- 
Sebastien "Seblu" Luttringer



More information about the arch-projects mailing list