Changeset 7031 in vbox
- Timestamp:
- Feb 20, 2008 12:21:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/vboxnet.sh
r6868 r7031 123 123 running() { 124 124 test -f "$VARFILE" 125 }126 127 valid_ifname() {128 if expr match "$1" "vbox[0-9][0-9]*$" > /dev/null 2>&1129 then130 return 0131 else132 return 1133 fi134 125 } 135 126 … … 198 189 # or two non-comment entries, possibly followed by a comment). 199 190 if ((! expr match "$2" "#" > /dev/null) && 200 (test -z "$4" || expr match "$4" "#" > /dev/null) && 201 (valid_ifname "$1")) 191 (test -z "$4" || expr match "$4" "#" > /dev/null)) 202 192 then 203 193 case $user in
Note:
See TracChangeset
for help on using the changeset viewer.