see:http://fcron.free.fr/
http://wiki.maemo.org/Fcron
有个问题,就是:比如说,设定在晚间11点关闭蜂窝网,而突然想用电话,这时候好像需要在终端输入:这岂不是很麻烦?!
dbus-send --system --type=method_call --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.set_radio boolean:true dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"Mobile network is connected"
其实可以定义一个开关:
修改 /root/.bashrc 加一句,需要打开网络时候,只要在终端敲入networkon命令即可,是不是很简单
alias networkon='/path/.../network_on.sh'
没有评论:
发表评论