https://bugzilla.novell.com/show_bug.cgi?id=721682
https://bugzilla.novell.com/show_bug.cgi?id=721682#c18
--- Comment #18 from Volker Kuhlmann 2012-02-07 01:00:51 NZDT ---
Here's a solution. The boot.cleanup script still exists and can be made to
work.
Create a resource script suitable for /etc/init.d/ , there are templates
available. The relevant fragments are:
### BEGIN INIT INFO
# Provides: boot.local-clean [should match name of script]
# Required-Start: $local_fs boot.rootfsck
# Should-Start: boot.quota boot.cleanup
# Required-Stop: $null
# Should-Stop: $null
# Default-Start: B
# Default-Stop:
# Short-Description: ...
# Description: ...
### END INIT INFO
# If you want some logging
exec >/var/log/boot.local-rc.log 2>&1
case "$1" in
start)
echo "Running boot.local-clean"
SYSTEMD_NO_WRAP=1 # tell systemd to go away
export SYSTEMD_NO_WRAP
/etc/init.d/boot.cleanup start
# Remember status and be verbose
rc_status -v
;;
[...]
esac
rc_exit
Enable that with chkconfig -a boot.local-clean
In case someone wants the scripts, there is a copy here:
http://volker.top.geek.nz/soft/script/init.d/
It's part of a script set I use, hence the particular structure.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.