WZR-HP-G300NH - ash und Scripte

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware
Author Message
pascalh
DD-WRT Novice


Joined: 26 May 2010
Posts: 16

PostPosted: Sun May 30, 2010 9:19    Post subject: WZR-HP-G300NH - ash und Scripte Reply with quote
Hallo Zusammen,

ich weis das hier ist das falsche Forum aber es ist in Deutsch.

Ich habe ein Problem mit den Scripten auf OpenWrt.
Ich habe folgendes Script erstellt:

#!/bin/sh /etc/rc.common

START=80

start(){
echo "Lade Custom-Config"
export PATH=$PATH':/mnt/bin/custom'
}

Wenn ich es ausführe sollte normalerweise die export Anweisung aktuallisiert werden, wird sie aber nicht und ich weis nicht was ich falsch gemacht habe.

Könnte mir evtl. jemand bitte weiterhelfen?

Gruß
Pascal
Sponsor




Joined: 01 Jan 1970
Posts:

PostPosted: Sun May 30, 2010 11:54    Post subject: Reply with quote
Code:
#!/bin/sh /etc/rc.common

START=80

start() {
        echo "Lade Custom-Config"
        export PATH="$PATH:/mnt/bin/custom"
}


Code:

chmod +x /etc/init.d/script
/etc/init.d/script start
/etc/init.d/script enable

Dann sollte es funktionieren.
pascalh
DD-WRT Novice


Joined: 26 May 2010
Posts: 16

PostPosted: Mon May 31, 2010 17:08    Post subject: X-Wrt entfernen Reply with quote
Hallo pandora,

danke für die schnelle Antwort. Ich habe noch ein anderes Problem. Ich habe versucht X-Wrt zu installieren, allerdings ist die Oberfläche von X-Wrt bei mir fehlerhaft, deshalb habe ich sie wieder deinstalliert. Aber es wurde anscheinend nicht richtig entfernt und wenn ich die RouterIP eingeben lädt irgendein Serverdienst den ich nicht kenne die Startseite von X-Wrt(die nicht mehr da ist) anstatt die Oberfläche von Luci aufzurufen.

Weist du wie ich das abstellen kann?
Bei google habe ich nichts gefunden :(

Dank und Gruß
Pascal
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC basierende Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum