The following changes were made:

* Package now manages /etc/network.conf via usher
  * Added man page and ifup symlinks
  * Updated network init script
This commit is contained in:
2017-05-16 14:36:54 -05:00
parent e50782227d
commit 53077da060
5 changed files with 39 additions and 21 deletions

20
SNAP/usher Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
set -e
case $1 in
preinst)
exit 0
;;
postinst)
if [ ! -f ${TARGET}/etc/network.conf ]; then
cp ${TARGET}/usr/share/iftools/network.conf ${TARGET}/etc/network.conf
fi
;;
prerm)
exit 0
;;
postrm)
exit 0
;;
esac