packages/admin/sudo/files/sudo.init
nico 93f2973bed packages/sudo: update to 1.7.8p1, create sudo db at startup (closes: #10289)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-15 01:41:45 +00:00

12 lines
171 B
Bash
Executable File

#!/bin/sh /etc/rc.common
# Copyright (C) 2011 OpenWrt.org
START=99
start() {
[ -d /var/lib/sudo ] || {
mkdir -m 0755 -p /var/lib/sudo
chmod 0700 /var/lib/sudo
}
}