On Wed, 5 May 2010 16:53:55 +0200
Andreas Jaeger
cat /etc/tmpdirs.d/01_aaa_base test -d /tmp || mkdir -m 1777 /tmp test -d /tmp/.ICE-unix || mkdir -m 1777 /tmp/.ICE-unix test -d /tmp/.X11-unix || mkdir -m 1777 /tmp/.X11-unix test -d /var/run || mkdir -m 755 /var/run test -d /var/run/screens || mkdir -m 755 /var/run/screens test -d /var/run/uscreens || mkdir -m 1777 /var/run/uscreens test -d /var/tmp || mkdir -m 1777 /var/tmp test -d /var/tmp/vi.recover || mkdir -m 1777 /var/tmp/vi.recover
looks like it would really speed up booting.
so, if you want to add something to your package, create e.g. 20_your_package_name with just the following link, the snipet will then be executed at bootup:
test -d /var/run/XYZ || install -d -u xyz -g xyz /var/run/XYZ
install is in /usr/bin and thus needs Networking to be up, first ;) -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org