]>
Commit | Line | Data |
---|---|---|
daf96690 MT |
1 | /* IPFire helper program - rebuildroutes |
2 | * | |
3 | * This program is distributed under the terms of the GNU General Public | |
4 | * Licence. See the file COPYING for details. | |
5 | */ | |
6 | ||
7 | #include "libsmooth.h" | |
8 | #include "setuid.h" | |
9 | ||
10 | int main(int argc, char *argv[]) { | |
11 | if (!(initsetuid())) | |
12 | exit(1); | |
13 | ||
14 | safe_system("/etc/init.d/static-routes start >/dev/null 2>&1"); | |
15 | ||
16 | return 0; | |
17 | } |