I plan to check
in the following patch, comments?
Index: systemimager.spec
===================================================================
--- systemimager.spec (revision 3514)
+++ systemimager.spec (working copy)
@@ -259,6 +259,10 @@
SystemImager autoinstall process.
Index: systemimager.spec
===================================================================
--- systemimager.spec (revision 3514)
+++ systemimager.spec (working copy)
@@ -259,6 +259,10 @@
SystemImager autoinstall process.
%changelog
+* Sat Apr 15 2006 Bernard Li <[EMAIL PROTECTED]>
+- Added bits to add/remove init scripts for systemimager-server-{flamethrowerd,
+ netbootmond,monitord,bittorrent}
+
* Sun Mar 26 2006 Bernard Li <[EMAIL PROTECTED]>
- Added new function %is_suse to test if we're building on SuSE Linux
- Changed python-xml requires such that it is only required on SuSE Linux, otherwise,
@@ -537,10 +541,18 @@
+* Sat Apr 15 2006 Bernard Li <[EMAIL PROTECTED]>
+- Added bits to add/remove init scripts for systemimager-server-{flamethrowerd,
+ netbootmond,monitord,bittorrent}
+
* Sun Mar 26 2006 Bernard Li <[EMAIL PROTECTED]>
- Added new function %is_suse to test if we're building on SuSE Linux
- Changed python-xml requires such that it is only required on SuSE Linux, otherwise,
@@ -537,10 +541,18 @@
if [[ -a
/usr/lib/lsb/install_initd ]]; then
/usr/lib/lsb/install_initd /etc/init.d/systemimager-server-rsyncd
+ /usr/lib/lsb/install_initd /etc/init.d/systemimager-server-flamethrowerd
+ /usr/lib/lsb/install_initd /etc/init.d/systemimager-server-netbootmond
+ /usr/lib/lsb/install_initd /etc/init.d/systemimager-server-monitord
+ /usr/lib/lsb/install_initd /etc/init.d/systemimager-server-bittorrent
fi
/usr/lib/lsb/install_initd /etc/init.d/systemimager-server-rsyncd
+ /usr/lib/lsb/install_initd /etc/init.d/systemimager-server-flamethrowerd
+ /usr/lib/lsb/install_initd /etc/init.d/systemimager-server-netbootmond
+ /usr/lib/lsb/install_initd /etc/init.d/systemimager-server-monitord
+ /usr/lib/lsb/install_initd /etc/init.d/systemimager-server-bittorrent
fi
if [[ -a /sbin/chkconfig ]];
then
/sbin/chkconfig --add systemimager-server-rsyncd
+ /sbin/chkconfig --add systemimager-server-flamethrowerd
+ /sbin/chkconfig --add systemimager-server-netbootmond
+ /sbin/chkconfig --add systemimager-server-monitord
+ /sbin/chkconfig --add systemimager-server-bittorrent
fi
/sbin/chkconfig --add systemimager-server-rsyncd
+ /sbin/chkconfig --add systemimager-server-flamethrowerd
+ /sbin/chkconfig --add systemimager-server-netbootmond
+ /sbin/chkconfig --add systemimager-server-monitord
+ /sbin/chkconfig --add systemimager-server-bittorrent
fi
%preun server
@@ -548,10 +560,18 @@
@@ -548,10 +560,18 @@
if [[ -a
/usr/lib/lsb/remove_initd ]]; then
/usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-rsyncd
+ /usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-flamethrowerd
+ /usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-netbootmond
+ /usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-monitord
+ /usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-bittorrent
fi
/usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-rsyncd
+ /usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-flamethrowerd
+ /usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-netbootmond
+ /usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-monitord
+ /usr/lib/lsb/remove_initd /etc/init.d/systemimager-server-bittorrent
fi
if [[ -a /sbin/chkconfig ]];
then
/sbin/chkconfig --del systemimager-server-rsyncd
+ /sbin/chkconfig --del systemimager-server-flamethrowerd
+ /sbin/chkconfig --del systemimager-server-netbootmond
+ /sbin/chkconfig --del systemimager-server-monitord
+ /sbin/chkconfig --del systemimager-server-bittorrent
fi
/sbin/chkconfig --del systemimager-server-rsyncd
+ /sbin/chkconfig --del systemimager-server-flamethrowerd
+ /sbin/chkconfig --del systemimager-server-netbootmond
+ /sbin/chkconfig --del systemimager-server-monitord
+ /sbin/chkconfig --del systemimager-server-bittorrent
fi
if [[ -a
/etc/xinetd.d/rsync.presis~ ]]; then
Thanks,
Bernard