routing.subr (fa2e39c89210ec44b1afdceadcb999bf9acd2a67) routing.subr (56961fd7949de755f95a60fe8ac936f81e953f5b)
1if [ ! "$_NETWORKING_ROUTING_SUBR" ]; then _NETWORKING_ROUTING_SUBR=1
2#
3# Copyright (c) 2006-2012 Devin Teske
4# All Rights Reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 16 unchanged lines hidden (view full) ---

25# SUCH DAMAGE.
26#
27# $FreeBSD$
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
1if [ ! "$_NETWORKING_ROUTING_SUBR" ]; then _NETWORKING_ROUTING_SUBR=1
2#
3# Copyright (c) 2006-2012 Devin Teske
4# All Rights Reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 16 unchanged lines hidden (view full) ---

25# SUCH DAMAGE.
26#
27# $FreeBSD$
28#
29############################################################ INCLUDES
30
31BSDCFG_SHARE="/usr/share/bsdconfig"
32. $BSDCFG_SHARE/common.subr || exit 1
33f_dprintf "%s: loading includes..." networking/routing.subr
33f_include $BSDCFG_SHARE/sysrc.subr
34f_include $BSDCFG_SHARE/dialog.subr
35f_include $BSDCFG_SHARE/networking/common.subr
36f_include $BSDCFG_SHARE/networking/ipaddr.subr
37
38BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="120.networking"
39f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
40

--- 101 unchanged lines hidden (view full) ---

142 if [ $? -ne $SUCCESS ]; then
143 f_dialog_msgbox "$err"
144 return $FAILURE
145 fi
146 fi
147 fi
148}
149
34f_include $BSDCFG_SHARE/sysrc.subr
35f_include $BSDCFG_SHARE/dialog.subr
36f_include $BSDCFG_SHARE/networking/common.subr
37f_include $BSDCFG_SHARE/networking/ipaddr.subr
38
39BSDCFG_LIBE="/usr/libexec/bsdconfig" APP_DIR="120.networking"
40f_include_lang $BSDCFG_LIBE/$APP_DIR/include/messages.subr
41

--- 101 unchanged lines hidden (view full) ---

143 if [ $? -ne $SUCCESS ]; then
144 f_dialog_msgbox "$err"
145 return $FAILURE
146 fi
147 fi
148 fi
149}
150
151############################################################ MAIN
152
153f_dprintf "%s: Successfully loaded." networking/routing.subr
154
150fi # ! $_NETWORKING_ROUTING_SUBR
155fi # ! $_NETWORKING_ROUTING_SUBR