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:
20
SNAP/usher
Executable file
20
SNAP/usher
Executable 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
|
||||
Reference in New Issue
Block a user