From: havner Date: Sun, 26 Sep 2004 23:43:15 +0000 (+0000) Subject: - adds udev support and fix against /tmp/.ICE-unix in X 6.8.1 X-Git-Tag: auto/ac/rc-scripts-0_4_0_16-2~2 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=b3b3c31b0e11f3a290806734099130382f4ae969;p=packages%2Frc-scripts.git - adds udev support and fix against /tmp/.ICE-unix in X 6.8.1 Changed files: rc-scripts-svn.patch -> 1.1 --- diff --git a/rc-scripts-svn.patch b/rc-scripts-svn.patch new file mode 100644 index 0000000..74ea6e0 --- /dev/null +++ b/rc-scripts-svn.patch @@ -0,0 +1,56 @@ +Index: rc.d/rc.sysinit +=================================================================== +--- rc.d/rc.sysinit (.../tags/0.4.0.16) (wersja 4664) ++++ rc.d/rc.sysinit (.../trunk) (wersja 4664) +@@ -106,6 +106,12 @@ + /bin/dmesg -n $CONSOLE_LOGLEVEL + fi + ++if [ -f /etc/udev/udev.conf ];then ++ . /etc/udev/udev.conf ++fi ++ ++[ -x /sbin/start_udev ] && run_cmd "Starting udev" /sbin/start_udev ++ + # /dev must be also mounted before everything but only if we want use them ;-) + if is_yes "$MOUNT_DEVFS"; then + run_cmd "Mounting Device Filesystem" mount -n -t devfs /dev /dev +@@ -741,10 +747,6 @@ + rm -rf /tmp/.X*-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/hsperfdata_* \ + /tmp/kde-* /tmp/ksocket-* /tmp/mc-* /tmp/mcop-* /tmp/orbit-* \ + /tmp/scrollkeeper-* /tmp/ssh-* +-# Make ICE directory +-mkdir -m 1777 -p /tmp/.ICE-unix > /dev/null 2>&1 +-chown root:root /tmp/.ICE-unix +-restorecon /tmp/.ICE-unix > /dev/null 2>&1 + + { + # Clean up utmp/wtmp +@@ -765,6 +767,12 @@ + rm -rf /tmp/* /tmp/.[a-zA-Z0-9]* + fi + ++# System protected dirs ++mkdir -m 1777 -p /tmp/.ICE-unix > /dev/null 2>&1 ++chown root:root /tmp/.ICE-unix ++restorecon /tmp/.ICE-unix > /dev/null 2>&1 ++ ++ + # Right, now turn on swap in case we swap to files + swapon -a >/dev/null 2>&1 + run_cmd "Enabling swap space" /bin/true +Index: sysconfig/interfaces/ifcfg-description +=================================================================== +--- sysconfig/interfaces/ifcfg-description (.../tags/0.4.0.16) (wersja 4664) ++++ sysconfig/interfaces/ifcfg-description (.../trunk) (wersja 4664) +@@ -6,8 +6,8 @@ + from lowest value first. You need to set BOOTPRIO in _all_ your + ifcfg* files because if you won't do that only these interfaces + with BOOTPRIO variable will be configured. Use the same schema +- when setting variable for example BOOTPRIO=numer +- or BOOTPRIO="numer" because sorting is done by sort command. ++ when setting variable for example BOOTPRIO=number ++ or BOOTPRIO="number" because sorting is done by sort command. + + [ BOOTPROTO={none|bootp|dhcp|pump} ] + You can specify which dhcp client to use with the DHCP_CLIENT, if