OSDN Git Service

0eab22949bb4413b8fb9f405c456f8e3b0f29692
[immortalwrt/immortalwrt.git] / package / emortal / autocore / files / generic / 090-cover-index_files
1 #!/bin/sh
2
3 [ ! -f '/etc/rpcd_10_system.js' ] || \
4         mv -f '/etc/rpcd_10_system.js' '/www/luci-static/resources/view/status/include/10_system.js'
5 [ ! -f '/etc/rpcd_luci' ] || \
6         mv -f '/etc/rpcd_luci' '/usr/libexec/rpcd/luci'
7 [ ! -f '/etc/rpcd_luci-mod-status.json' ] || \
8         mv -f '/etc/rpcd_luci-mod-status.json' '/usr/share/rpcd/acl.d/luci-mod-status.json'
9 /etc/init.d/rpcd restart
10
11 exit 0