Skip to content

Commit 2881fda

Browse files
committed
update README-gpl-csf.md
1 parent 2468d9b commit 2881fda

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

README-gpl-csf.md

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ The built-in update mechanism that connected to ConfigServer's servers has been
3737
**Migration Steps:**
3838

3939
```bash
40-
# Option 1: Configure custom download mirrors
41-
echo "your.mirror.server" > /etc/csf/downloadservers
42-
43-
# Option 2: Use manual updates from GitHub
44-
cd /tmp
40+
# Use manual updates from GitHub
41+
cd /usr/src
4542
wget https://github.com/waytotheweb/scripts/raw/refs/heads/main/csf.tgz
46-
# Extract and run install.sh
43+
# Extract and run install
44+
tar -xzf csf.tgz
45+
cd csf
46+
sh install.sh
4747
```
4848

4949
### 2. Version Check Functionality
@@ -107,14 +107,14 @@ Every source file updated with GPLv3 boilerplate:
107107

108108
```bash
109109
cp -R /etc/csf /etc/csf.backup
110-
cp /usr/local/csf/version.txt /root/csf_version_backup.txt
110+
cp /usr/local/csf/version.txt /usr/local/csf/version-backup.txt
111111
```
112112

113113
2. **Update CSF**
114114

115115
```bash
116116
# Download from GitHub
117-
cd /tmp
117+
cd /usr/src
118118
wget https://github.com/waytotheweb/scripts/raw/refs/heads/main/csf.tgz
119119
tar -xzf csf.tgz
120120
cd csf
@@ -129,19 +129,9 @@ Every source file updated with GPLv3 boilerplate:
129129
```
130130

131131
4. **Configure Update Source** (if desired)
132-
- Set up your own mirror in `/etc/csf/downloadservers`
132+
- Set up your own mirror in `/etc/csf/downloadservers`. Will need to restore CSF v15.00 disabled auto update routines and version checks first.
133133
- OR rely on manual updates from GitHub
134134

135-
### For New Users
136-
137-
Simply clone and install:
138-
139-
```bash
140-
git clone https://github.com/waytotheweb/scripts.git
141-
cd scripts/csf
142-
sh install.sh
143-
```
144-
145135
---
146136

147137
## 📋 Post-Upgrade Checklist

0 commit comments

Comments
 (0)