media.subr (ec7120b5b2d110c16e43de0e66e7f971efd52717) | media.subr (f4844f65a9213b76ff8cf3cc0c9d881631c34c3a) |
---|---|
1if [ ! "$_NETWORKING_MEDIA_SUBR" ]; then _NETWORKING_MEDIA_SUBR=1 2# 3# Copyright (c) 2006-2013 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: --- 87 unchanged lines hidden (view full) --- 96 next 97 } 98 END { exit ! media_found } 99 ' 100} 101 102# f_dialog_input_options $interface 103# | 1if [ ! "$_NETWORKING_MEDIA_SUBR" ]; then _NETWORKING_MEDIA_SUBR=1 2# 3# Copyright (c) 2006-2013 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: --- 87 unchanged lines hidden (view full) --- 96 next 97 } 98 END { exit ! media_found } 99 ' 100} 101 102# f_dialog_input_options $interface 103# |
104# Input custom interface options. | 104# Input custom interface options. If the user does not press ESC or choose 105# Cancel/No, $options will hold the user's input. Default input is taken from 106# the same variable ($options). |
105# 106f_dialog_input_options() 107{ 108 local interface="$1" 109 110 # 111 # Return with-error when there are NFS-mounts currently active. If the 112 # options are changed while NFS-exported directories are mounted, --- 127 unchanged lines hidden --- | 107# 108f_dialog_input_options() 109{ 110 local interface="$1" 111 112 # 113 # Return with-error when there are NFS-mounts currently active. If the 114 # options are changed while NFS-exported directories are mounted, --- 127 unchanged lines hidden --- |