Add qubes_netwatcher to proxyvm spec
This commit is contained in:
parent
01458104cb
commit
a0a6bdf7d8
@ -49,8 +49,10 @@ The Qubes core files for installation inside a Qubes ProxyVM in addition to NetV
|
|||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
||||||
cp init.d/qubes_firewall $RPM_BUILD_ROOT/etc/init.d/
|
cp init.d/qubes_firewall $RPM_BUILD_ROOT/etc/init.d/
|
||||||
|
cp init.d/qubes_netwatcher $RPM_BUILD_ROOT/etc/init.d/
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
||||||
cp bin/qubes_firewall $RPM_BUILD_ROOT/usr/sbin/
|
cp bin/qubes_firewall $RPM_BUILD_ROOT/usr/sbin/
|
||||||
|
cp bin/qubes_netwatcher $RPM_BUILD_ROOT/usr/sbin/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
@ -62,10 +64,14 @@ fi
|
|||||||
chkconfig --add qubes_firewall || echo "WARNING: Cannot add service qubes_core!"
|
chkconfig --add qubes_firewall || echo "WARNING: Cannot add service qubes_core!"
|
||||||
chkconfig qubes_firewall on || echo "WARNING: Cannot enable service qubes_core!"
|
chkconfig qubes_firewall on || echo "WARNING: Cannot enable service qubes_core!"
|
||||||
|
|
||||||
|
chkconfig --add qubes_netwatcher || echo "WARNING: Cannot add service qubes_core!"
|
||||||
|
chkconfig qubes_netwatcher on || echo "WARNING: Cannot enable service qubes_core!"
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" = 0 ] ; then
|
if [ "$1" = 0 ] ; then
|
||||||
# no more packages left
|
# no more packages left
|
||||||
chkconfig qubes_firewall off
|
chkconfig qubes_firewall off
|
||||||
|
chkconfig qubes_netwatcher off
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -74,4 +80,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/etc/init.d/qubes_firewall
|
/etc/init.d/qubes_firewall
|
||||||
|
/etc/init.d/qubes_netwatcher
|
||||||
/usr/sbin/qubes_firewall
|
/usr/sbin/qubes_firewall
|
||||||
|
/usr/sbin/qubes_netwatcher
|
||||||
|
Loading…
Reference in New Issue
Block a user