diff options
Diffstat (limited to 'debian/torouterui.postinst')
-rw-r--r-- | debian/torouterui.postinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/torouterui.postinst b/debian/torouterui.postinst new file mode 100644 index 0000000..e61d07a --- /dev/null +++ b/debian/torouterui.postinst @@ -0,0 +1,9 @@ + +if which pycompile >/dev/null 2>&1; then + pycompile -p torouterui + echo "Not starting just now; do so with '/etc/init.d/torouterui start' as root" +fi + +if [ -x "/etc/init.d/torouterui" ]; then + update-rc.d torouterui defaults >/dev/null +fi |