diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-01 13:34:14 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-01 13:34:14 -0300 |
commit | 7da937948f83ce82745346fbd5ecb5e4457fa1bc (patch) | |
tree | 5e94ea4d424eb31495cbcb9cdeb0855ef401f3ba /tools/scripts | |
parent | f003f8db0eaba3837c0e2d2566181a51689a3107 (diff) | |
download | pfsense-7da937948f83ce82745346fbd5ecb5e4457fa1bc.zip pfsense-7da937948f83ce82745346fbd5ecb5e4457fa1bc.tar.gz |
Remove script used during bootstrap conversion
Diffstat (limited to 'tools/scripts')
-rwxr-xr-x | tools/scripts/clean.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tools/scripts/clean.sh b/tools/scripts/clean.sh deleted file mode 100755 index e0b601a..0000000 --- a/tools/scripts/clean.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -# -# clean.sh -# -# part of pfSense (https://www.pfsense.org) -# Copyright (c) 2015-2016 Electric Sheep Fencing, LLC -# All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -sed -i '' 's/> </></g' $1 ; -sed -i '' 's/ / /g' $1 ; -sed -i '' 's/\s+$//g' $1 ; -sed -i '' 's/ width="17" height="17" border="0"//g' $1 ; -sed -i '' 's/<td [^>]+listhdrr[^>]+>/<th>/g' $1 ; -sed -i '' 's/<body[^>]*>//g' $1 ; -sed -i '' 's/<\(table\|td\|span\|div\)[^>]\+>/<\1>/g' $1 ; -sed -i '' 's/<?php include("fbegin.inc"); ?>//g' $1 ; -sed -i '' 's/<?php include("fend.inc"); ?>/<?php include("foot.inc"); ?>/g' $1 ; -sed -i '' 's/<?php echo /<?=/g' $1 ; -sed -i '' 's/;\s*?>/?>/g' $1 ; -sed -i '' 's/<?\s*=\s*/<?=/g' $1 ; -sed -i '' 's/ <> / != /g' $1 ; |