1 DESCRIPTION
= "System Configuration save/restore functionality"
5 RDEPENDS_$
{PN
} = "devio cpio findutils diffutils"
8 # Currently
, the scripts only support ixp4xx machines.
9 # Feel free
to add
to the scripts ...
10 COMPATIBLE_MACHINE
= '
(ixp4xx|nslu2
)'
12 SRC_URI
= "file://sysconfsetup \
18 INITSCRIPTS
= "sysconfsetup"
20 # This just makes things easier...
25 install
-d $
{D
}$
{sysconfdir
} \
26 $
{D
}$
{sysconfdir
}/default \
27 $
{D
}$
{sysconfdir
}/init.d \
31 install
-m
0755 sysconfsetup $
{D
}$
{sysconfdir
}/init.d
/
34 install
-m
0644 conffiles $
{D
}$
{sysconfdir
}/default
37 install
-m
0755 sysconf $
{D
}$
{base_sbindir
}/sysconf
42 test
-n
"$D" && opt
="-r $D"
43 update
-rc.d $opt sysconfsetup start
12 S .
48 test
-n
"$D" && opt
="-r $D"
49 update
-rc.d $opt sysconfsetup remove