You are not logged in.

#1 2008-07-30 06:18:04

soloport
Member
Registered: 2005-03-01
Posts: 442

Support for Wake On LAN

Would like to request the following changes (could make it more easy to support WOL):

/etc/config.d/wol:

# Comment out the following line to support Wake On LAN
WOL_ARGS="-i"

/etc/rc.shutdown (or wherever there's a reference to 'halt -i' or similar):

...
. /etc/conf.d/wol
...
        /sbin/poweroff -d -f -h $WOL_ARGS
...
        /sbin/reboot -d -f $WOL_ARGS
...

[Edit]
/etc/rc.d/network:

...
. /etc/conf.d/wol
...
        if [ -n $WOL_ARGS ]; then
            /sbin/ifconfig ${1} down >/dev/null 2>&1
        fi
...

Thoughts?

Thanks

Last edited by soloport (2008-07-30 06:31:03)

Offline

#2 2008-07-30 06:54:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Support for Wake On LAN

You should submit a feature request for this on the bugtracker. Here in the forum, there is no guarantee that the right devs, or any devs, will see it.

Offline

Board footer

Powered by FluxBB