Contents of /alx-src/tags/alxconf-0_6_12/bin/alx-iface.sh
Parent Directory | Revision Log
Revision 7999 -
(show annotations)
(download)
(as text)
Tue Dec 15 10:26:30 2015 UTC (8 years, 9 months ago) by niro
File MIME type: application/x-sh
File size: 258 byte(s)
Tue Dec 15 10:26:30 2015 UTC (8 years, 9 months ago) by niro
File MIME type: application/x-sh
File size: 258 byte(s)
tagged 'alxconf-0_6_12'
1 | #!/bin/bash |
2 | |
3 | source /etc/alxconfig-ng/config.rc |
4 | default_iface="eth0" |
5 | |
6 | if [ -e ${SETTINGSPATH}/confd-networking ] |
7 | then |
8 | iface="$(< ${SETTINGSPATH}/confd-networking)" |
9 | fi |
10 | |
11 | if [[ -z ${iface} ]] |
12 | then |
13 | # default iface |
14 | iface="${default_iface}" |
15 | fi |
16 | |
17 | echo "${iface}" |
Properties
Name | Value |
---|---|
svn:executable | * |