mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-17 20:34:36 +00:00
base-files: Create /run and /run/lock folder
Create the folder /run and /run/lock using symlinks. Other Linux distributions also have these folders and some applications might already depend on them. Just create symlinks pointing to the older folder. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: https://github.com/openwrt/openwrt/pull/16961 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
71c14cbee5
commit
3b710375dd
@ -24,6 +24,8 @@ boot() {
|
||||
chmod 1777 /var/lock
|
||||
mkdir -p /var/log
|
||||
mkdir -p /var/run
|
||||
ln -s /var/run /run
|
||||
ln -s /var/lock /run/lock
|
||||
mkdir -p /var/state
|
||||
mkdir -p /var/tmp
|
||||
mkdir -p /tmp/.uci
|
||||
|
Loading…
Reference in New Issue
Block a user