forked from acouzens/open5gs
22 lines
363 B
Bash
22 lines
363 B
Bash
#!/bin/sh
|
|
# postinst script for nextepc
|
|
#
|
|
# see: dh_installdeb(1)
|
|
|
|
set -e
|
|
|
|
if ! grep "pgwtun" /proc/net/dev > /dev/null; then
|
|
ip tuntap add name pgwtun mode tun
|
|
ip addr add 45.45.0.1/16 dev pgwtun
|
|
ip link set pgwtun up
|
|
fi
|
|
|
|
# dh_installdeb will replace this with shell code automatically
|
|
# generated by other debhelper scripts.
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|
|
|
|
|