Z
zero
Hi everyone,
I have a dual boot system with windows xp pro and linux (fedora). To
switch from windows to linux I have to reboot, but if I want to have
internet access under linux I have to release the IP before rebooting. I
have created a batch file with the lines
shutdown -r -t 5
ipconfig /release
which does the trick nicely. However, I would prefer doing this
automatically. I thought about a logoff script, but I don't want it to
be run every time someone logs off, only when the system shuts down or
reboots.
An additional problem is that I am the only one with admin rights on xp,
so the other users cannot use the shutdown and ipconfig commands. So
when someone else shuts down the system I have to log in first just to
run the batch file.
Does someone know of a solution for this?
TIA
zero
I have a dual boot system with windows xp pro and linux (fedora). To
switch from windows to linux I have to reboot, but if I want to have
internet access under linux I have to release the IP before rebooting. I
have created a batch file with the lines
shutdown -r -t 5
ipconfig /release
which does the trick nicely. However, I would prefer doing this
automatically. I thought about a logoff script, but I don't want it to
be run every time someone logs off, only when the system shuts down or
reboots.
An additional problem is that I am the only one with admin rights on xp,
so the other users cannot use the shutdown and ipconfig commands. So
when someone else shuts down the system I have to log in first just to
run the batch file.
Does someone know of a solution for this?
TIA
zero