summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimone Rota <sip@crux.nu>2007-10-11 23:21:34 +0200
committerSimone Rota <sip@crux.nu>2007-10-11 23:21:34 +0200
commit32c24151ede6f2602159b9ecce42a178d3c6ebcc (patch)
tree1cd489940687b5faf2f09d01f38933322eb1500e
parent5cfc917529a839958911300b14c939405ee92d0c (diff)
downloadiso-2.4old.tar.gz
iso-2.4old.tar.xz
setup-helper: add default SYSLOG to rc.conf2.4old
-rwxr-xr-xiso/bin/setup-helper9
1 files changed, 8 insertions, 1 deletions
diff --git a/iso/bin/setup-helper b/iso/bin/setup-helper
index ff75a15..e2ab327 100755
--- a/iso/bin/setup-helper
+++ b/iso/bin/setup-helper
@@ -91,4 +91,11 @@ remove_packages xorg-applewmproto xorg-libapplewm xorg-libwindowswm \
xorg-windowswmproto xorg-xprintproto
inject_packages xorg-libpixman
rename_packages "xorg-xf86-video-i810:xorg-xf86-video-intel"
-# TODO: look for needed adjustements
+
+# Add default SYSLOG var to /etc/rc.conf
+
+RCCONF=$ROOT/etc/rc.conf
+. $RCCONF
+if [ "$SYSLOG" == "" ]; then
+ sed -i '/SERVICES=/iSYSLOG=sysklogd' $RCCONF
+fi

Generated by cgit