Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29619/scripts
Modified Files:
syslog-ng udev
Log Message:
- replace the udev config files with our own ( based on Linux from Scratch)
- first preparations to run syslog-ng now under the user syslog (can be
changed via /etc/sysconfig/config)
Index: syslog-ng
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/syslog-ng,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- syslog-ng 11 Jan 2004 14:43:05 -0000 1.11
+++ syslog-ng 24 Jan 2005 00:35:20 -0000 1.12
@@ -33,6 +33,10 @@
install )
copy_files ./src/syslog-ng $CDDIR/sbin || exit 1
copy_man ./doc
+ groupadd -g 106 syslog || exit 1
+ useradd -u 106 -g syslog -c "system log daemon" -s /bin/false syslog || exit 1
+ gpasswd -a syslog tty || exit 1
+ chown syslog.syslog /var/log || exit 1
;;
* )
Index: udev
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/udev,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- udev 22 Jan 2005 22:49:31 -0000 1.6
+++ udev 24 Jan 2005 00:35:20 -0000 1.7
@@ -56,10 +56,7 @@
chmod 770 $DIR/etc/udev/scripts/* || exit 1
rm $DIR/etc/udev/rules.d/*
rm $DIR/etc/udev/permissions.d/*
- cp -dpv etc/udev/redhat/*.rules $DIR/etc/udev/rules.d/ || exit 1
- cp -dpv etc/udev/redhat/*.permissions $DIR/etc/udev/permissions.d/ || exit 1
- replace_str $DIR/etc/udev/udev.conf "udev_log=\"yes\"" "udev_log=\"no\""
- rm $DIR/etc/udev/*.old
+ cp -dpvR $(find_src_dir udev-config)/* $DIR/etc/udev/ || exit 1
done
cp -dpv $(pwd)/DL-static/sbin/udev $INITRDDIR/sbin/ || exit 1
ln -sf udev $INITRDDIR/sbin/udevstart || exit 1
|