ufw: add sv file
This commit is contained in:
parent
feb662a68f
commit
77eb0d935e
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
exec ufw disable
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
ufw enable
|
||||
exec chpst -b ufw pause
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ufw'
|
||||
pkgname=ufw
|
||||
version=0.35
|
||||
revision=1
|
||||
revision=2
|
||||
hostmakedepends="python iptables"
|
||||
depends="${hostmakedepends}"
|
||||
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
|
||||
|
@ -18,5 +18,6 @@ do_install() {
|
|||
sed -e 's|/lib|/usr/lib|' -i setup.py
|
||||
python2 setup.py install --root=$DESTDIR
|
||||
vmkdir usr/bin
|
||||
vsv ufw
|
||||
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue