From 2f2f7b9db41057787628d0b1afdb61d421934ce8 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 5 Oct 2009 19:19:23 -0700 Subject: add override mechanism for protected users --- debian/vyatta-cfg-system.postinst.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'debian/vyatta-cfg-system.postinst.in') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index a44fe657..1a9f0bd5 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -166,6 +166,13 @@ cp -f /opt/vyatta/etc/syslog.conf /etc/syslog.conf # this logs unnecessary messages trying to start ddclient rm -f /etc/ppp/ip-up.d/ddclient +# set up protected users override file (if necessary) +PU_FILE=/opt/vyatta/etc/protected-users +if [ ! -r "$PU_FILE" ]; then + touch $PU_FILE + chmod 644 $PU_FILE +fi + # Local Variables: # mode: shell-script # sh-indentation: 4 -- cgit v1.2.3