Templates: check if scripts exists, otherwise can skip
This commit is contained in:
parent
676cb70a90
commit
c05da27cce
|
@ -1 +1 @@
|
|||
/usr/local/opnsense/mvc/script/run_migrations.php %%ARG%%
|
||||
if [ -f /usr/local/opnsense/mvc/script/run_migrations.php ]; then /usr/local/opnsense/mvc/script/run_migrations.php %%ARG%%; fi
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
echo "Reloading firmware configuration"
|
||||
/usr/local/etc/rc.configure_firmware
|
||||
if [ -f /usr/local/etc/rc.configure_firmware ]; then echo "Reloading firmware configuration"; /usr/local/etc/rc.configure_firmware; fi
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
echo -n "Reloading template %%ARG%%: "
|
||||
/usr/local/sbin/configctl template reload %%ARG%%
|
||||
if [ -f /usr/local/sbin/configctl ]; then echo -n "Reloading template %%ARG%%: "; /usr/local/sbin/configctl template reload %%ARG%%; fi
|
||||
|
|
Loading…
Reference in New Issue