edit html file

kostassite

Neuer User
Mitglied seit
25 Feb 2008
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Hey I am new and i need your help
I want to edit a html file in my fritzbox fon
the file is /var/html/html/index_inhalt.html
the problem is that i cant save it because is readonly filesystem what can i do?
Fritzbox fon doesn;t have usb port!!!
 
Hi and welcome,

try this:
Code:
cat /var/html/html/index_inhalt.html > /var/index_inhalt.html
mount -o bind /var/index_inhalt.html /var/html/html/index_inhalt.html
and edit /var/index_inhalt.html
 
will i have to edit it every time i reboot??
everything i store in var is safe(not deleted with rebbot)?
 
It's not safe. You have to edit your /var/flash/debug.cfg with nvi to make an automated modification after reboot. It's a shell script. You can use wget to load the html's from a webserver or something.

Another way would be to use freetz and flash any modifications directly to the filesystem.
 

Neueste Beiträge

Statistik des Forums

Themen
244,859
Beiträge
2,219,663
Mitglieder
371,572
Neuestes Mitglied
#Kuddel#
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.