Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ptal-init
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Pamino
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 281
Location: 127.0.0.1

PostPosted: Wed Sep 08, 2004 11:14 am    Post subject: ptal-init Reply with quote

Hallo,
ich habe den Multifunktiosdrucker PSC2175 von HP. Als Scannertreiber benutze ich HPOJ. Damit auch Xsane meinen Drucker erkennt muss ich vorher als root den Befehl ptal-init start ausführen. Auf dauer nervt das allerdings, deshalb habe ich mir überlegt einen script in /etc/init.d zu erstellen, allerdings weiß ich nicht wie ich das anfangen soll.... oder gibt es noch eine einfachere Möglichkeit ptal-init beim booten ausführen zu lassen?
Back to top
View user's profile Send private message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Wed Sep 08, 2004 11:36 am    Post subject: Reply with quote

Gibt es das Initscript nicht schon? Was liegt denn so in /etc/init.d?

cheers
t.
Back to top
View user's profile Send private message
Pamino
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 281
Location: 127.0.0.1

PostPosted: Wed Sep 08, 2004 12:11 pm    Post subject: Reply with quote

Da ist sicher kein script der was damit zu tun hat. 100%! Was sollte den da liegen?
Back to top
View user's profile Send private message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Wed Sep 08, 2004 12:29 pm    Post subject: Reply with quote

Dann kopier halt das ptal-init Dingens nach /etc/init.d. Ich glaube so habe ich es auch gemacht und dachte daher, es gäbe ein spezielles init script.

cheers
t.
Back to top
View user's profile Send private message
Pamino
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 281
Location: 127.0.0.1

PostPosted: Wed Sep 08, 2004 1:03 pm    Post subject: Reply with quote

himpierre wrote:
Dann kopier halt das ptal-init Dingens nach /etc/init.d. Ich glaube so habe ich es auch gemacht und dachte daher, es gäbe ein spezielles init script.

cheers
t.
Glaub ich dir nicht :D Hab ich schon längst probiert und es geht nicht :D
Back to top
View user's profile Send private message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Wed Sep 08, 2004 1:47 pm    Post subject: Reply with quote

...na dann versuchen wir es mit hpoj?
Code:

root@irmeli ~ # /etc/init.d/hpoj start
 * Starting hpoj...                                                       [ ok ]
root@irmeli ~ # /etc/init.d/hpoj stop
 * Stopping hpoj...                                                       [ ok ]
root@irmeli ~ # cat /etc/init.d/hpoj
#!/sbin/runscript
depend() {
        before cupsd
        after hotplug
}

start() {
        ebegin "Starting hpoj"
        /usr/sbin/ptal-init start -q
        eend $?
}

stop() {
        ebegin "Stopping hpoj"
        /usr/sbin/ptal-init stop -q
        eend $?
}


cheers
t.
Back to top
View user's profile Send private message
Pamino
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 281
Location: 127.0.0.1

PostPosted: Wed Sep 08, 2004 4:09 pm    Post subject: Reply with quote

?? Ich hatte hpoj script nicht.... habs neu emergt. Jetzt ist es da und funkt wunderbar :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
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