summaryrefslogtreecommitdiff
path: root/etc/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/init.d')
-rwxr-xr-xetc/init.d/vyatta-router7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router
index e10f054..43c9e29 100755
--- a/etc/init.d/vyatta-router
+++ b/etc/init.d/vyatta-router
@@ -186,6 +186,12 @@ mount_slash_config ()
fi
}
+generate_unpriv_cmds ()
+{
+ source /opt/vyatta/share/vyatta-op/functions/interpreter/vyatta-unpriv
+ vyatta_unpriv_gen_allowed
+}
+
start ()
{
log_action_begin_msg "Mounting Vyatta Config"
@@ -230,6 +236,7 @@ start ()
telinit q
bind_mount_boot
chmod g-w,o-w /
+ generate_unpriv_cmds
}
stop()