aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-25 09:51:03 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-25 09:51:03 +0200
commitbde0ce318eafa8de5e4f146bb104af78527c639e (patch)
treeeb57b21001bd4aaab849dd53a79b707e21e9ab5a /config
parentec436c0e0784326ad56e69cdd599693e0932e985 (diff)
downloadpfsense-packages-bde0ce318eafa8de5e4f146bb104af78527c639e.tar.gz
pfsense-packages-bde0ce318eafa8de5e4f146bb104af78527c639e.tar.bz2
pfsense-packages-bde0ce318eafa8de5e4f146bb104af78527c639e.zip
Remove useless remount calls
These are dealt with by install_package() and uninstall_package() from pkg-utils.inc.
Diffstat (limited to 'config')
-rw-r--r--config/routed/routed.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/routed/routed.inc b/config/routed/routed.inc
index 471c2772..3bcef0aa 100644
--- a/config/routed/routed.inc
+++ b/config/routed/routed.inc
@@ -105,21 +105,17 @@ function setup_etc_gateways($iface="", $mode="") {
}
function routed_install_command() {
- conf_mount_rw();
write_rcfile(array(
"file" => "routed.sh",
"start" => "/usr/bin/nohup /sbin/routed > /dev/null 2>&1 &",
"stop" => "/bin/pkill routed"
)
);
- conf_mount_ro();
}
function routed_deinstall_command() {
stop_service("routed");
- conf_mount_rw();
unlink_if_exists("/usr/local/etc/rc.d/routed.sh");
- conf_mount_ro();
}
?>