File: if_down_darwin.sh

package info (click to toggle)
opengnb 1.6.0.a-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,596 kB
  • sloc: ansic: 33,566; makefile: 10; sh: 3
file content (17 lines) | stat: -rwxr-xr-x 207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if [ -n "$GNB_IF_NAME" ] ; then

    echo $GNB_MTU > "/sys/class/net/$GNB_IF_NAME/mtu"

fi


#if [ -n "$GNB_TUN_IPV6" ] ; then
   
#	ip -6 address add "$GNB_TUN_IPV6/96" dev $GNB_IF_NAME

#fi